When writing a mount point into fstab , it would be better to use UUID not /dev/xxx.
Check UUID
[root@fc16 ~]# blkid /dev/sda1: LABEL="SYSTEM" UUID="9E2E45302E45032F" TYPE="ntfs" /dev/sda2: LABEL="HP" UUID="8454D6EB54D6DECC" TYPE="ntfs" /dev/sda3: UUID="61b367fb-2790-407f-a071-262e8b857fb9" UUID_SUB="5c11bceb-cd4f-4636-be2e-74d0dc199444" TYPE="btrfs" /dev/sda5: UUID="890e0f93-2c19-479a-92a7-9c2cead5c40b" TYPE="swap" /dev/sda6: UUID="1c61e7cc-a5ae-4d49-95ba-23361e3e64ea" TYPE="ext4" /dev/sdb1: LABEL="M-cM-^CM-^\M-cM-^CM-*M-cM-^CM-%M-cM-^CM-<M-cM-^CM- " UUID="D680E4DE80E4C5D9" TYPE="ntfs" /dev/sdb5: LABEL="fedora" UUID="278b0a16-ba14-429d-a9a2-d79cfa604e76" UUID_SUB="b74f31cc-d0c1-4199-8634-b6b24c416579" TYPE="btrfs" |
write a mount point using UUID not /dev/xxx as below.
[root@fc16 ~]# egrep -v ^# /etc/fstab UUID=61b367fb-2790-407f-a071-262e8b857fb9 / btrfs defaults 1 1 UUID=890e0f93-2c19-479a-92a7-9c2cead5c40b swap swap defaults 0 0 UUID=278b0a16-ba14-429d-a9a2-d79cfa604e76 /var/USB_HDD/Fedora btrfs defaults 0 0 |
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.