Commonly used commands --mount

 

mount -o remount,rw /

 

mount command [-t file system] [-L label name] [-o specific options] device file name mount point

  -l query system has been mounted equipment, -l displays the label
  -a based configuration file / etc fstab content / automatic mount
  -t file system, added to the system specifies the type of mount type, ext3, ext4, iso9660 file systems
  -L label name: mount selected partition, rather than the device file name mount
  -o particular options: You can specify additional options to mount

 

mount -t file format -o option parameters of the device mount point

# Mount fat32 hard drive, assign permissions to 644 and 755 
Mount -t vfat -o iocharset = utf8, the fMask = 133 , dmask = 022 / dev / sdb / Media /
# Mount ntfs hard drive, permissions to 777 
Mount -t ntfs -o NLS = utf8, the umask = 000 / dev / sdb1 / Media /
# Ntfs hard mount, permissions 644 and 755 the user id for the 1000 
Mount -t ntfs -o-3G UID = 1000 , GID = 1000 , fMask = 133 , dmask = 022 / dev / sdb1 / Media /
# Ntfs hard mount, permissions 644 and 755 
Mount -t ntfs -o-3G fMask = 133 , dmask = 022 / dev / sdb1 / Media /

 



Guess you like

Origin www.cnblogs.com/outsrkem/p/11763929.html