1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| Options: -a, --all 挂载/etc/fstab文件中指定的所有文件系统 -c, --no-canonicalize 不要规范化路径 -f, --fake 仅测试而不真正挂载 -F, --fork fork off for each device (use with -a) -T, --fstab <path> 指定fstab文件 -i, --internal-only don't call the mount.<type> helpers -l, --show-labels lists all mounts with LABELs -n, --no-mtab don't write to /etc/mtab -o, --options <list> 指定挂载参数 -O, --test-opts <list> limit the set of filesystems (use with -a) -r, --read-only 以只读方式挂载,等同于-o ro -t, --types <list> 过滤文件系统类型 --source <src> explicitly specifies source (path, label, uuid) --target <target> explicitly specifies mountpoint -v, --verbose 显示详情 -w, --rw, --read-write 以读写方式挂载,默认选项
Source: -L, --label <label> 等同于LABEL=<label> -U, --uuid <uuid> 等同于UUID=<uuid> LABEL=<label> 指定文件系统标签 UUID=<uuid> 指定文件系统UUID PARTLABEL=<label> 指定分区标签 PARTUUID=<uuid> 指定分区UUID <device> 指定设备路径 <directory> 指定挂载点 (see --bind/rbind) <file> 指定常规文件
Operations: -B, --bind 常用于挂载文件夹 (same as -o bind) -M, --move move a subtree to some other place -R, --rbind mount a subtree and all submounts somewhere else --make-shared mark a subtree as shared --make-slave mark a subtree as slave --make-private mark a subtree as private --make-unbindable mark a subtree as unbindable --make-rshared recursively mark a whole subtree as shared --make-rslave recursively mark a whole subtree as slave --make-rprivate recursively mark a whole subtree as private --make-runbindable recursively mark a whole subtree as unbindable
|