:: Re: [DNG] I have a question about l…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: karl
Datum:  
To: dng
Betreff: Re: [DNG] I have a question about libsystemd0 in devuan ascii,
Didier:
...
>     Everybody is using blkid to build thiese links, my script as well as 
> Udev and Vdev. You probably noticed that blkid has a special option for 
> Udev because Udev people are too lazzy to parse the response. In Vdev, 
> Jude made the parsing job to be compatible with Busybox's blkid which 
> hasn't this special format.


Ok.

>     So blkid authors on one hand provide a special format for Udev to 
> create the symlinks, and on the other hand claim that they aren't reliable!


Heh, funny world, isn't it.

///

Since you can mount a fs by its uuid or label:

# blkid /dev/md7
/dev/md7: UUID="b3a4343f-ea9f-442e-911b-994e70ef2c5c" TYPE="xfs"
# mount --uuid b3a4343f-ea9f-442e-911b-994e70ef2c5c /Net 
# df /Net 
Filesystem      1K-blocks       Used Available Use% Mounted on
/dev/md7       1952749916 1615159700 337590216  83% /Net
# umount /Net/
# df /Net
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/root         849332 60964    728008   8% /
# ls -l /dev/disk
ls: cannot access '/dev/disk': No such file or directory
#


Isn't /dev/disk/by* redundant, couldn't we just deprecate them,
don't that ?

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57