Gentoo Archives: gentoo-dev

From: Francesco Riosa <vivo75@×××××.com>
To: gentoo development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] newsitem: important fstab update
Date: Wed, 26 Oct 2016 16:02:41
Message-Id: CAD6zcDx+x+EBNyVM_LhHUViC9HbmtvhTCCHrvR_NS+wCqpuqKQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] newsitem: important fstab update by "Michał Górny"
1 2016-10-26 11:04 GMT+02:00 Michał Górny <mgorny@g.o>:
2
3 > Dnia 26 października 2016 10:49:04 CEST, Joshua Kinard <kumba@g.o>
4 > napisał(a):
5 > >On 10/25/2016 13:15, William Hubbs wrote:
6 > >> On Tue, Oct 25, 2016 at 01:10:06PM -0400, Mike Gilbert wrote:
7 > >>> On Tue, Oct 25, 2016 at 1:01 PM, William Hubbs <williamh@g.o>
8 > >wrote:
9 > >>>> If you are not using /dev/disk/by-* paths in fstab, you do not need
10 > >to
11 > >>> take any action for this news item.
12 > >>>>
13 > >>>> If you are, it is very critical that you update fstab AS SOON AS
14 > >>> POSSIBLE. Your system will become unbootable in the future if you do
15 > >>> not do so.
16 > >>>
17 > >>> Err, what is changing that will make systems unbootable?
18 > >>>
19 > >>> I am fairly certain systems running systemd will continue to work
20 > >>> properly with either syntax.
21 > >>
22 > >> They probably will.
23 > >>
24 > >>> If this is about the udev-settle issue for OpenRC, I would urge you
25 > >to
26 > >>> reconsider that.
27 > >>
28 > >> There isn't anything to reconsider afaik. The problem is that
29 > >> /dev/disk/by-* are only created by udev/eudev, but the other syntax
30 > >> works regardless of which device manager you use, so this is the
31 > >safer
32 > >> route.
33 > >>
34 > >> William
35 > >>
36 > >
37 > >I take it us museum relics still using jurassic-era device names like
38 > >/dev/sd* or /dev/md* aren't affected by this? Cthulhu-forbid Linux
39 > >device
40 > >naming gets any more complicated than using UUID's. What's next,
41 > >saving the
42 > >serial numbers of discovered disks in an overly-complicated
43 > >key/value-based
44 > >non-SQL database format?
45 >
46 > Wait full you-know-who notices that disk device names are not predictable
47 > and fixes that.
48 >
49
50 that's easy just make fstab parser able to read the content of
51 HWPATH=/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1/dev
52 ;-)
53
54
55 >
56 >
57 > --
58 > Best regards,
59 > Michał Górny (by phone)
60 >
61 >