All,

this item is about an important fstab update. In short, people need to
move away from /dev/disk-by/* in their fstab vfiles.

I do have a question about the newsitem -- how do I make it display only
for Linux users?

Thanks,

William

Title: Inportant fstab update
Author: William Hubbs <willi...@gentoo.org>
Content-Type: text/plain
Posted: 2016-10-28
Revision: 1
News-Item-Format: 1.0

If you are not using /dev/disk/by-* paths in fstab, you do not need to
take any action for this news item.

If you are, it is very critical that you update fstab AS SOON AS
POSSIBLE. Your system will become unbootable in the future if you do
not  do so.

You need to replace the /dev/disk/by-* paths in your fstab with the
equivalent information from the output of the blkid utility.

For example, here is out from blkid on my system:

# blkid

/dev/sda2: LABEL="boot" UUID="371432e9-7e6c-4205-9d4e-b23f6212e54b" TYPE="ext2" 
PARTLABEL="boot" PARTUUID="2451c4a9-0405-425e-8d53-4567beae8651"
/dev/sda3: LABEL="swap" UUID="d579b037-615c-441f-8f83-03e3c4919c21" TYPE="swap" 
PARTLABEL="swap" PARTUUID="14c0d838-6dc5-4fdb-9a9d-c9523acdadc7"
/dev/sda4: LABEL="root" UUID="5c496429-c836-4b23-9b11-7efd609c7cde" TYPE="ext4" 
PARTLABEL="rootfs" PARTUUID="8a9765a4-7a20-4fa4-87e2-7a64d782e0d0"
/dev/sda5: LABEL="home" UUID="bb63928e-67c0-4522-b4a0-66be507c2c2f" TYPE="ext4" 
PARTLABEL="home" PARTUUID="000848d8-b51b-4671-8754-6d3b0c8df465"
/dev/sda6: LABEL="var" UUID="fcb8046b-283b-45c0-a2c0-ae1001bebf82" TYPE="ext4" 
PARTLABEL="var" PARTUUID="e1d8ccf6-3523-4c13-baae-e674ee0b43bf"
/dev/sda1: PARTLABEL="grub" PARTUUID="700e8338-399f-4d33-9e15-73c85b136f3d"

My fstab can use any of the labels or ids, so I use labels:

LABEL=boot              /boot           ext2            defaults        1 2
LABEL=swap              none            swap            sw              0 0
LABEL=root              /               ext4            defaults                
0 1
LABEL=home              /home           ext4            defaults                
0 1
LABEL=var               /var            ext4            defaults                
0 1

Attachment: signature.asc
Description: Digital signature

Reply via email to