重装系统前备份fstab
作者:互联网
❯ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=62879db8-86af-4abe-ae06-702c1f30da0b / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
UUID=0306dcfd-65f9-4406-b667-af44ff491b61 /usrlocal ext4 defaults 0 2
UUID=780cd855-8dec-409a-be1b-2540b2e64f67 /data/logs ext4 defaults 0 2
UUID=000721E5000905AC /media/john/work ntfs defaults 0 2
UUID=000894CA000E9B00 /media/john/soft ntfs defaults 0 2
标签:ext4,UUID,备份,fstab,重装系统,ntfs,defaults,john 来源: https://www.cnblogs.com/jiftle/p/15780099.html