Centos7 at how to automatically mount

 

1. Create a directory to mount

例:mkdir /data/cd

2. Case examination carried out manually mount mount

例: Mout / dev / Sr0 / data / Chd

3. Add vim / etc / fstab (file system configuration) automatic loading of the parameters

The format is:

Mounting source - which folder mount - File system type - mounted parameters - backup frequency - disk detection order

例:/dev/sr0      /data/cd    iso9660       defaults       0  0

 

Mount and mount where the source is not introduced

 

What are the common types of file system are the following:

Ext4、xfs、iso9660、nfs、none

What you can see with blkid mount command in the system file type is

 

 

4 can be used when mount

Device file

LABEL:=” ”

UUID:UUID=””

It recommends the use UUID to mount

 

Guess you like

Origin www.cnblogs.com/guozihan/p/10959371.html