Re: /dev/disk/by-id/ in testing
On 2019-01-06 10:30:26 +0000, Johan en Katrien Dewaele wrote:
> Hi,
>
> my weekly upgrade on testing failed yesterday as, after an initrd.img was generated, lilo could not run successfully.
>
>
> After checking my /etc/lilo.conf, where I had my boot disk identified by ID as :
>
>
> "boot=/dev/disk/by-id/ata-ST3500320AS_9QM6D0TB"
>
>
> and comparing it with what is in /dev/disk/by-id I noticed that this identification-id had changed suddeny: see the additional underscores in the names of both harddisks:
>
> $ ls -alF /dev/disk/by-id/
>
> total 0
> drwxr-xr-x 2 root root 700 jan 6 11:00 ./
> drwxr-xr-x 7 root root 140 jan 6 10:32 ../
> lrwxrwxrwx 1 root root 9 jan 6 10:32 ata-PIONEER_DVD_RW_DVR-107D -> ../../sr0
> lrwxrwxrwx 1 root root 9 jan 6 10:32 ata-ST3500320AS____9QM6D0TB -> ../../sdb
[...]
> My question: is this change intentional? I thought I was "save";-) identifying my disks by ID ? Or did I miss something?
FYI, it was due to a bug in udev, fixed there:
systemd (240-3) unstable; urgency=medium
[...]
* libudev-util: Make util_replace_whitespace() read only len characters.
Fixes a regression where /dev/disk/by-id/ names had additional
underscores.
[...]
-- Michael Biebl <biebl@debian.org> Wed, 09 Jan 2019 18:40:57 +0100
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: