Mount Concept:
View Mount: DF
Add the source destination point for Mount Mount:mount Mount
Mount/dev/sdb1/mnt
Mount Mount Common parameters (Option)
-t specifies the file system type, for example:-T ext3,-t Ext4,-t VFAT
-o Specifies mount options, for example:
-O RO,RW mount in read-only form, mount in read-write form, default is RW
-O Async represents all operations using cache (memory): Increases the efficiency of the file system to read and write data, and defaults to async using cache (memory);
-o sync is written directly to disk on behalf of all operations: it does not use caching for all operations, but writes directly to the disk; Applications in scenarios where data security is high
-O Atime represents the time at which the update file is accessed each time the file is accessed, and the default is the abbreviation for atime;atime=access times
-O Noatime represents the time that the file is accessed every time the file is accessed
-o remount for file system re-mounting
#使用不带参数的mount命令来显示所有已经挂载上了的文件系统
Automatic mount is also implemented in the #也可将挂载配置写入/etc/fstab
To un-mount a unmount:unmount mounted device source or mounted destination point
Command umount a mounted device source (/DEV/SDB1) or mounted destination point (/MNT)
UMOUNT/DEV/SDB1 = = Umount/mnt
Example: UMOUNT/DEV/SDB1 or umount/mnt/
If a device is busy error appears, indicating that the file system is being used;
You can use the following command (Fuser) to see which processes are using this file system: Cause device is busy
Fuser–m/mnt
You can also use the following command (LSOF) to see which files or folders are open or in use in this file system:
Lsof/mnt
This article is from the Linux commune website (www.linuxidc.com) Source Link: http://www.linuxidc.com/Linux/2013-06/85718.htm
Linux mount view, add and Cancel