What are the links? ?
Soft link (symbolic link) and hard link
Soft link (symbol) Hard link
ln -s ln
source xxx YES
/etc/rc.local --> Link file
Automatic execution at boot (command or script)
/etc/rc.d/rc.local +x
/etc/fastab
boot Automatically mount file system
centos The default file system of the system is XFS df -Th T type
UUID to mount the
device name (uuid) Mount point file system type defaults 0 0
mount -a
File system type
XFS xfs_repair / dev / sdb1
(repair)
mkfs.xfs XXXXX -f
ext4 fsck -y / dev / sdb1
mkfs.ext4 xxxx
repair
CentOS XFS
Linux what filesystems
Check the inode
ls -i xxx of a file.
Check the UUID blkid link. Why? ?
Soft link (symbolic link) and hard link
Soft link (symbol) Hard link
ln -s ln
source xxx YES
/etc/rc.local --> Link file
Automatic execution at boot (command or script)
/etc/rc.d/rc.local +x
/etc/fastab
boot Automatically mount file system
centos The default file system of the system is XFS df -Th T type
UUID to mount the
device name (uuid) Mount point file system type defaults 0 0
mount -a
File system type
XFS xfs_repair / dev / sdb1
(repair)
mkfs.xfs XXXXX -f
ext4 fsck -y / dev / sdb1
mkfs.ext4 xxxx
repair
CentOS XFS
Linux what filesystems
View the inode
ls -i xxx of a file
View UUID
blkid