Debian 开机自动挂载磁盘 (未连接自动跳过)
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).
/ was on /dev/mmcblk1p2 during installation
UUID=919bde49-2c37-406e-ae08-3f45f78105e2 / ext4 errors=remount-ro 0 1
/boot/efi was on /dev/mmcblk1p1 during installation
UUID=B9A6-42CE /boot/efi vfat umask=0077 0 1
swap was on /dev/mmcblk1p3 during installation
UUID=6fd5ef4c-155e-475a-8240-252f6bb3a55c none swap sw 0 0
#USB 3T
UUID=23837ba7-c29b-8140-8b38-c76858ab23d0 /mnt/hg ext4 defaults,nofail,noatime 0 0
#USB 1T
UUID=155820c6-bd9c-4656-b6fb-a30f01b440c3 /mnt/h1 ext4 defaults,nofail,noatime 0 0