Usage:mount [-lhV]mount -a [options]mount [options] [--source] | [--target] mount [options] mount []Options:-a, --all mount all filesystems mentioned in fstab-c, --no-canonicalize don't canonicalize paths-f, --fake dry run; skip the mount(2) syscall-F, --fork fork off for each device (use with -a)-T, --fstab alternative file to /etc/fstab-h, --help display this help text and exit-i, --internal-only don't call the mount. helpers-l, --show-labels lists all mounts with LABELs-n, --no-mtab don't write to /etc/mtab-o, --options comma-separated list of mount options-O, --test-opts limit the set of filesystems (use with -a)-r, --read-only mount the filesystem read-only (same as -o ro)-t, --types limit the set of filesystem types--source explicitly specifies source (path, label, uuid)--target explicitly specifies mountpoint-v, --verbose say what is being done-V, --version display version information and exit-w, --rw, --read-write mount the filesystem read-write (default)-h, --help display this help and exit-V, --version output version information and exitSource:-L, --label
(2)umount命令帮助手册
命令:umount --help
解析:查看umount支持的全部命令和选项,在实际工作中,查看这个手册应该是必备之选。
Usage:umount [-hV]umount -a [options]umount [options] | Options:-a, --all unmount all filesystems-A, --all-targets unmount all mountpoins for the given devicein the current namespace-c, --no-canonicalize don't canonicalize paths-d, --detach-loop if mounted loop device, also free this loop device--fake dry run; skip the umount(2) syscall-f, --force force unmount (in case of an unreachable NFS system)-i, --internal-only don't call the umount. helpers-n, --no-mtab don't write to /etc/mtab-l, --lazy detach the filesystem now, and cleanup all later-O, --test-opts limit the set of filesystems (use with -a)-R, --recursive recursively unmount a target with all its children-r, --read-only In case unmounting fails, try to remount read-only-t, --types limit the set of filesystem types-v, --verbose say what is being done-h, --help display this help and exit-V, --version output version information and exitFor more details see umount(8).