On Tue, 25 Oct 2016 12:01:06 -0500 William Hubbs <[email protected]> wrote:
> Title: Inportant fstab update > Author: William Hubbs <[email protected]> > 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. I don't think this is a good way to start any text. You should start with a short introduction on what's happening, when and how. Right now the news item sounds like the world is going to suddenly fall apart for no specific reason. Reading it, I don't know what's changing, and how to check if it impacts me already (i.e. if it's 'do not reboot' kind of problem) and if it will impact me at all. > You need to replace the /dev/disk/by-* paths in your fstab with the > equivalent information from the output of the blkid utility. This is at least unclear, if not misguiding. I read it as 'blkid will give you fs info'. However, you're not telling me which of those information I can use and how. I should also point out that blkid supports multiple output formats. I think it would be better if you explicitly listed the thingies supported by mount(1). > 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 I'm afraid those examples are not really readable. Furthermore, I don't see much point in pasting the whole fstab if all entries use LABEL=. Try to keep them below 72 (or 80?) chars, skip blkid or paste just one entry (wrapped), paste a minimal fstab just as example how the tags can be used. -- Best regards, Michał Górny <http://dev.gentoo.org/~mgorny/>
pgpviFoJ7bTNB.pgp
Description: OpenPGP digital signature
