-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 В Sun, 12 Jan 2014 19:46:11 +0100 "Carlos E. R." <carlos.e.r@opensuse.org> пишет:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-01-12 19:18, Felix Miata wrote:
On 2014-01-12 16:19 (GMT+0100) Carlos E. R. composed:
alternative names in /dev/disk-by/. They were added precisely because device names such as sda are not persistent.
Those long-winded, PITA, alternative names have been around for years. For boot stanza and fstab they can be easily avoided via the ancient LABEL= syntax, though Dracut it seems may have introduced breakage for these two contexts by sticking things in the initrd that don't need to be there.
LABEL is just one of the available methods in /dev/disk-by/.
Yes, I agree that using "LABEL=SomeName" is easier than using the alternative "/dev/disk-by/label/SomeName". My entire partition table uses the "LABEL=..." syntax. You can also use "UUID=..." syntax, but not "ID=...", and I do not understand why.
LABEL is limited to mounting file systems only. /dev/disk/... is generic and can be used in every place where block device can be used. Think e.g. of LVM device scanning.
You do not have to convince me of that.
What I don't do is use that syntax in grub, because I don't know what/where it is supported.
Of course it is not supported by grub itself. If you mean - is it supported as part of kernel parameter (e.g. root=LABEL=xxx) - it is not supported by kernel itself; you will need to have initrd which is able to interpret it.
Now, what I think you are saying is that the "LABEL=..." syntax was valid in grub, and now it doesn't work - is that it?
LABEL= syntax has absolutely nothing to do with grub. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlLS5VoACgkQR6LMutpd94wAXQCdEgW8hwqXHgQzenI/IP8Dmihi DsEAoJDiLaX8CUh26oxKrchsU5++VeWm =CICR -----END PGP SIGNATURE-----