mount

加载文件系统到指定的加载点。此命令的最常用于挂载cdrom,使我们可以访问cdrom中的数据,因为你将光盘插入cdrom中,Linux并不会自动挂载,必须使用Linux mount命令来手动完成挂载

语法

   mount -a [-fFnrsvw] [-t vfstype]

   mount [-fnrsvw] [-o options [,...]] device | dir

   mount [-fnrsvw] [-t vfstype] [-o options] device dir

   mount [-hV]  

选项

   -a     挂载fstab中提到的所有(给定类型的)文件系统

   -F     (与-a连用)为每个设备派生一个新的挂载版本。
          这将并行地在不同的设备或不同的NFS服务器上执行挂载。
          它的优点是更快;
          此外,NFS超时也是并行的。缺点是坐骑是按罚款顺序进行的。
          因此,如果您想挂载/usr和/usr/spool,就不能使用此选项。

   -f     除实际系统调用之外的所有操作.

   -n     加载没有写入文件“/etc/mtab”中的文件系统

   -s     容忍草率的挂载选项而不是失败

   -r     将文件系统加载为只读模式

   -w     挂载文件系统读/写

   -L label
          挂载具有指定标签的分区

   -U uuid
          挂载具有指定uuid的分区

   -o     可以用逗号分隔指定几个-o选项
          string ... 查看更多信息

          async  文件系统的所有I/O都应该异步执行.

          atime  更新每个访问的inode访问时间。这是默认值.

          noatime
                 不要更新此文件系统上的inode访问时间

          auto   可以与-a选项一起安装

          noauto 只能显式地挂载(即, -a选项将不会挂载文件系统)。

          ro     将文件系统挂载为只读

          rw     挂载文件系统读写。

          suid   允许集用户标识符或集组标识符位生效

          sync   所有文件系统的I/O都应该同步完成

   -t vfstype
          -t后面的参数用于指示文件系统类型。

   -h     打印帮助消息

   -V     输出版本.

   -v     详细模式.

mount 命令实例:

linux命令:mount | grep : | tr -s ' ' -d 3 | xargs umount -v -v umount xargs | 3 -d ' ' -s tr | : grep | mount mount | grep : | tr -s ' ' -d 3 | xargs umount -vrootopen.com
linux命令:mount | grep : | tr -s ' ' -d 3 | xargs umount -v -v umount xargs | 3 -d ' ' -s tr | : grep | mount mount | grep : | tr -s ' ' -d 3 | xargs umount -vrootopen.com
2018-03-24 02:49:48

linux命令:mount /path/to/file.iso /mnt/cdrom -oloop -oloop /mnt/cdrom /path/to/file.iso mount mount /path/to/file.iso /mnt/cdrom -olooprootopen.com
linux命令:mount /path/to/file.iso /mnt/cdrom -oloop -oloop /mnt/cdrom /path/to/file.iso mount mount /path/to/file.iso /mnt/cdrom -olooprootopen.com
2018-06-09 15:37:48

linux命令:mount -t tmpfs tmpfs /mnt -o size=1024m size=1024m -o /mnt tmpfs tmpfs -t mount mount -t tmpfs tmpfs /mnt -o size=1024mrootopen.com
linux命令:mount -t tmpfs tmpfs /mnt -o size=1024m size=1024m -o /mnt tmpfs tmpfs -t mount mount -t tmpfs tmpfs /mnt -o size=1024mrootopen.com
2018-05-29 08:58:48

linux命令:mount -o auto -t ntfs /dev/hda1 /windows /windows /dev/hda1 ntfs -t auto -o mount mount -o auto -t ntfs /dev/hda1 /windowsrootopen.com
linux命令:mount -o auto -t ntfs /dev/hda1 /windows /windows /dev/hda1 ntfs -t auto -o mount mount -o auto -t ntfs /dev/hda1 /windowsrootopen.com
2018-04-01 05:20:48

linux命令:mount -o -t ntfs-3g /dev/sda1 /mnt/windows/c force force /mnt/windows/c /dev/sda1 ntfs-3g -t -o mount mount -o -t ntfs-3g /dev/sda1 /mnt/windows/c forcerootopen.com
linux命令:mount -o -t ntfs-3g /dev/sda1 /mnt/windows/c force force /mnt/windows/c /dev/sda1 ntfs-3g -t -o mount mount -o -t ntfs-3g /dev/sda1 /mnt/windows/c forcerootopen.com
2018-04-22 10:22:48

linux命令:mount -t cd9660 /dev/`mdconfig -a -t vnode -f discimg.iso` /cdrom /cdrom discimg.iso` -f vnode -t -a /dev/`mdconfig cd9660 -t mount mount -t cd9660 /dev/`mdconfig -a -t vnode -f discimg.iso` /cdromrootopen.com
linux命令:mount -t cd9660 /dev/`mdconfig -a -t vnode -f discimg.iso` /cdrom /cdrom discimg.iso` -f vnode -t -a /dev/`mdconfig cd9660 -t mount mount -t cd9660 /dev/`mdconfig -a -t vnode -f discimg.iso` /cdromrootopen.com
2018-04-04 14:03:48

linux命令:mount -t proc{,,} proc{,,} -t mount mount -t proc{,,}rootopen.com
linux命令:mount -t proc{,,} proc{,,} -t mount mount -t proc{,,}rootopen.com
2018-01-24 21:09:48

linux命令:mount | column -t -t column | mount mount | column -trootopen.com
linux命令:mount | column -t -t column | mount mount | column -trootopen.com
2018-05-06 14:16:48

linux命令:mount -t smbfs //$server/share /local/mount -o rw,username=$USER rw,username=$USER -o /local/mount //$server/share smbfs -t mount mount -t smbfs //$server/share /local/mount -o rw,username=$USERrootopen.com
linux命令:mount -t smbfs //$server/share /local/mount -o rw,username=$USER rw,username=$USER -o /local/mount //$server/share smbfs -t mount mount -t smbfs //$server/share /local/mount -o rw,username=$USERrootopen.com
2018-06-10 16:18:48

linux命令:mount.gmailfs none /mount/path/ [-o username=USERNAME[,password=PASSWORD][,fsname=VOLUME]] [-p] [-p] username=USERNAME[,password=PASSWORD][,fsname=VOLUME]] [-o /mount/path/ none mount.gmailfs mount.gmailfs none /mount/path/ [-o username=USERNAME[,password=PASSWORD][,fsname=VOLUME]] [-p]rootopen.com
linux命令:mount.gmailfs none /mount/path/ [-o username=USERNAME[,password=PASSWORD][,fsname=VOLUME]] [-p] [-p] username=USERNAME[,password=PASSWORD][,fsname=VOLUME]] [-o /mount/path/ none mount.gmailfs mount.gmailfs none /mount/path/ [-o username=USERNAME[,password=PASSWORD][,fsname=VOLUME]] [-p]rootopen.com
2018-05-09 00:33:48

linux命令:mount --bind /old/directory/path /new/directory/path /new/directory/path /old/directory/path --bind mount mount --bind /old/directory/path /new/directory/pathrootopen.com
linux命令:mount --bind /old/directory/path /new/directory/path /new/directory/path /old/directory/path --bind mount mount --bind /old/directory/path /new/directory/pathrootopen.com
2018-01-30 00:13:48

linux命令:mount -t vfat /dev/sdx1 /media/psp/ /media/psp/ /dev/sdx1 vfat -t mount mount -t vfat /dev/sdx1 /media/psp/rootopen.com
linux命令:mount -t vfat /dev/sdx1 /media/psp/ /media/psp/ /dev/sdx1 vfat -t mount mount -t vfat /dev/sdx1 /media/psp/rootopen.com
2018-04-01 15:06:48

linux命令:mount -F hsfs -o ro `lofiadm -a /sol-10-u7-ga-sparc-dvd.iso` /mnt /mnt /sol-10-u7-ga-sparc-dvd.iso` -a `lofiadm ro -o hsfs -F mount mount -F hsfs -o ro `lofiadm -a /sol-10-u7-ga-sparc-dvd.iso` /mntrootopen.com
linux命令:mount -F hsfs -o ro `lofiadm -a /sol-10-u7-ga-sparc-dvd.iso` /mnt /mnt /sol-10-u7-ga-sparc-dvd.iso` -a `lofiadm ro -o hsfs -F mount mount -F hsfs -o ro `lofiadm -a /sol-10-u7-ga-sparc-dvd.iso` /mntrootopen.com
2018-05-31 16:50:48

linux命令:mount -t unionfs -o dirs=/tmp/unioncache=rw:/mnt/readonly=ro unionfs /mnt/unionfs /mnt/unionfs unionfs dirs=/tmp/unioncache=rw:/mnt/readonly=ro -o unionfs -t mount mount -t unionfs -o dirs=/tmp/unioncache=rw:/mnt/readonly=ro unionfs /mnt/unionfsrootopen.com
linux命令:mount -t unionfs -o dirs=/tmp/unioncache=rw:/mnt/readonly=ro unionfs /mnt/unionfs /mnt/unionfs unionfs dirs=/tmp/unioncache=rw:/mnt/readonly=ro -o unionfs -t mount mount -t unionfs -o dirs=/tmp/unioncache=rw:/mnt/readonly=ro unionfs /mnt/unionfsrootopen.com
2018-04-02 19:34:48

linux命令:mount -t ntfs-3g -o ro,loop,uid=user,gid=group,umask=0007,fmask=0117,offset=0x$(hd -n 1000000 image.vdi | grep "eb 52 90 4e 54 46 53" | cut -c 1-8) image.vdi /mnt/vdi-ntfs /mnt/vdi-ntfs image.vdi 1-8) -c cut | 53" 46 54 4e 90 52 "eb grep | image.vdi 1000000 -n ro,loop,uid=user,gid=group,umask=0007,fmask=0117,offset=0x$(hd -o ntfs-3g -t mount mount -t ntfs-3g -o ro,loop,uid=user,gid=group,umask=0007,fmask=0117,offset=0x$(hd -n 1000000 image.vdi | grep "eb 52 90 4e 54 46 53" | cut -c 1-8) image.vdi /mnt/vdi-ntfsrootopen.com
linux命令:mount -t ntfs-3g -o ro,loop,uid=user,gid=group,umask=0007,fmask=0117,offset=0x$(hd -n 1000000 image.vdi | grep "eb 52 90 4e 54 46 53" | cut -c 1-8) image.vdi /mnt/vdi-ntfs /mnt/vdi-ntfs image.vdi 1-8) -c cut | 53" 46 54 4e 90 52 "eb grep | image.vdi 1000000 -n ro,loop,uid=user,gid=group,umask=0007,fmask=0117,offset=0x$(hd -o ntfs-3g -t mount mount -t ntfs-3g -o ro,loop,uid=user,gid=group,umask=0007,fmask=0117,offset=0x$(hd -n 1000000 image.vdi | grep "eb 52 90 4e 54 46 53" | cut -c 1-8) image.vdi /mnt/vdi-ntfsrootopen.com
2018-01-12 09:38:48

linux命令:mount | awk '/:/ { print $3 } ' | xargs sudo umount umount sudo xargs | ' } $3 print { '/:/ awk | mount mount | awk '/:/ { print $3 } ' | xargs sudo umountrootopen.com
linux命令:mount | awk '/:/ { print $3 } ' | xargs sudo umount umount sudo xargs | ' } $3 print { '/:/ awk | mount mount | awk '/:/ { print $3 } ' | xargs sudo umountrootopen.com
2018-05-07 04:24:48

linux命令:mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/path /mount/path /path/to/dd/image loop,offset=$((512*x)) -o mount mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/pathrootopen.com
linux命令:mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/path /mount/path /path/to/dd/image loop,offset=$((512*x)) -o mount mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/pathrootopen.com
2018-01-13 06:26:48

linux命令:mount -t iso9660 /dev/cdrom /media/cdrom /media/cdrom /dev/cdrom iso9660 -t mount mount -t iso9660 /dev/cdrom /media/cdromrootopen.com
linux命令:mount -t iso9660 /dev/cdrom /media/cdrom /media/cdrom /dev/cdrom iso9660 -t mount mount -t iso9660 /dev/cdrom /media/cdromrootopen.com
2018-06-03 09:28:48

linux命令:mount -t msdos /dev/fd0 /mnt/floppy /mnt/floppy /dev/fd0 msdos -t mount mount -t msdos /dev/fd0 /mnt/floppyrootopen.com
linux命令:mount -t msdos /dev/fd0 /mnt/floppy /mnt/floppy /dev/fd0 msdos -t mount mount -t msdos /dev/fd0 /mnt/floppyrootopen.com
2017-12-31 12:29:48

linux命令:mount -o loop -t iso9660 my.iso /mnt/something /mnt/something my.iso iso9660 -t loop -o mount mount -o loop -t iso9660 my.iso /mnt/somethingrootopen.com
linux命令:mount -o loop -t iso9660 my.iso /mnt/something /mnt/something my.iso iso9660 -t loop -o mount mount -o loop -t iso9660 my.iso /mnt/somethingrootopen.com
2018-05-31 14:43:48

linux命令:mount -o remount,ro /dev/foo / / /dev/foo remount,ro -o mount mount -o remount,ro /dev/foo /rootopen.com
linux命令:mount -o remount,ro /dev/foo / / /dev/foo remount,ro -o mount mount -o remount,ro /dev/foo /rootopen.com
2018-05-23 21:00:48

linux命令:mount | grep "mount point" point" "mount grep | mount mount | grep "mount point"rootopen.com
linux命令:mount | grep "mount point" point" "mount grep | mount mount | grep "mount point"rootopen.com
2018-03-09 00:09:48

linux命令:mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/path /mount/path /path/to/dd/image loop,offset=$((512*x)) -o mount mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/pathrootopen.com
linux命令:mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/path /mount/path /path/to/dd/image loop,offset=$((512*x)) -o mount mount -o loop,offset=$((512*x)) /path/to/dd/image /mount/pathrootopen.com
2018-03-16 14:45:48

linux命令:mount /dev/root /mnt/root; rsync -avHX /mnt/root/ /mnt/target/ /mnt/target/ /mnt/root/ -avHX rsync /mnt/root; /dev/root mount mount /dev/root /mnt/root; rsync -avHX /mnt/root/ /mnt/target/rootopen.com
linux命令:mount /dev/root /mnt/root; rsync -avHX /mnt/root/ /mnt/target/ /mnt/target/ /mnt/root/ -avHX rsync /mnt/root; /dev/root mount mount /dev/root /mnt/root; rsync -avHX /mnt/root/ /mnt/target/rootopen.com
2018-04-12 06:55:48

linux命令:mount |tail -1 | less -p "/dev/[^ ]*" ]*" "/dev/[^ -p less | -1 |tail mount mount |tail -1 | less -p "/dev/[^ ]*"rootopen.com
linux命令:mount |tail -1 | less -p "/dev/[^ ]*" ]*" "/dev/[^ -p less | -1 |tail mount mount |tail -1 | less -p "/dev/[^ ]*"rootopen.com
2018-06-02 08:19:48

linux命令:mount|grep -e '//'|cut -d ' ' -f3| xargs -I {} umount {} {} umount {} -I xargs -f3| ' ' -d '//'|cut -e mount|grep mount|grep -e '//'|cut -d ' ' -f3| xargs -I {} umount {}rootopen.com
linux命令:mount|grep -e '//'|cut -d ' ' -f3| xargs -I {} umount {} {} umount {} -I xargs -f3| ' ' -d '//'|cut -e mount|grep mount|grep -e '//'|cut -d ' ' -f3| xargs -I {} umount {}rootopen.com
2018-06-10 01:10:48

linux命令:mount.cifs //10.0.0.1/d/share /mnt/winshare/ -o username=administrator,password=password username=administrator,password=password -o /mnt/winshare/ //10.0.0.1/d/share mount.cifs mount.cifs //10.0.0.1/d/share /mnt/winshare/ -o username=administrator,password=passwordrootopen.com
linux命令:mount.cifs //10.0.0.1/d/share /mnt/winshare/ -o username=administrator,password=password username=administrator,password=password -o /mnt/winshare/ //10.0.0.1/d/share mount.cifs mount.cifs //10.0.0.1/d/share /mnt/winshare/ -o username=administrator,password=passwordrootopen.com
2017-12-25 23:32:48

linux命令:mount -t vboxfs share /mnt/mount-point /mnt/mount-point share vboxfs -t mount mount -t vboxfs share /mnt/mount-pointrootopen.com
linux命令:mount -t vboxfs share /mnt/mount-point /mnt/mount-point share vboxfs -t mount mount -t vboxfs share /mnt/mount-pointrootopen.com
2018-01-06 11:45:48

linux命令:mount -o sb=98304 /dev/sda5 /mnt/data5 /mnt/data5 /dev/sda5 sb=98304 -o mount mount -o sb=98304 /dev/sda5 /mnt/data5rootopen.com
linux命令:mount -o sb=98304 /dev/sda5 /mnt/data5 /mnt/data5 /dev/sda5 sb=98304 -o mount mount -o sb=98304 /dev/sda5 /mnt/data5rootopen.com
2018-05-23 11:26:48

linux命令:mount -o loop centos.iso /nmt/dir /nmt/dir centos.iso loop -o mount mount -o loop centos.iso /nmt/dirrootopen.com
linux命令:mount -o loop centos.iso /nmt/dir /nmt/dir centos.iso loop -o mount mount -o loop centos.iso /nmt/dirrootopen.com
2018-05-18 16:12:48

linux命令:mount -t cifs -o username=SlackerMojo,domain=BIGGREEDY,rw //192.168.4.24/f /mnt/storage /mnt/storage //192.168.4.24/f username=SlackerMojo,domain=BIGGREEDY,rw -o cifs -t mount mount -t cifs -o username=SlackerMojo,domain=BIGGREEDY,rw //192.168.4.24/f /mnt/storagerootopen.com
linux命令:mount -t cifs -o username=SlackerMojo,domain=BIGGREEDY,rw //192.168.4.24/f /mnt/storage /mnt/storage //192.168.4.24/f username=SlackerMojo,domain=BIGGREEDY,rw -o cifs -t mount mount -t cifs -o username=SlackerMojo,domain=BIGGREEDY,rw //192.168.4.24/f /mnt/storagerootopen.com
2018-03-10 05:23:48

linux命令:mount_smbfs '//user:p%40ss@server/share' /Volumes/share /Volumes/share '//user:p%40ss@server/share' mount_smbfs mount_smbfs '//user:p%40ss@server/share' /Volumes/sharerootopen.com
linux命令:mount_smbfs '//user:p%40ss@server/share' /Volumes/share /Volumes/share '//user:p%40ss@server/share' mount_smbfs mount_smbfs '//user:p%40ss@server/share' /Volumes/sharerootopen.com
2018-01-11 03:32:48

Linux的Bash命令行(A-Z排序)