Re: persistent naming: add ID in addition to UUID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, July 27, 2015 21:26, ilf wrote:
> Sven Eschenberg:
>> Since you want to use crypttab anyway, is there any particular reason
>> not
>> to use /dev/disk/by-id/<identifier>?
>
> You are comlpetely right, that works and I should probably use that.
>
>> As UUID=<uuid> needs proper symlinks anyway, it is rather a handy
>> shorthand at the commandline.
>
> Well, the man-page for crypttab(5) in Debian and Derivatives sais, "the
> UUID is supported as well, using UUID=<luks_uuid>". So adding an ID=
> option would make this more consistent.

Still, if the man page is correct, cryptsetup only uses the symlink, so
once your inode manager screws up, there's no gain in not using the
symlink directly. In contrast /etc/fstab (mount and friends) supports UUID
(and some more) by exploiting libblkid functionality, thus they do not
depend on proper inode creation. In this case it does make a whole lot of
sende to use UUID=<UUID> and friends.

>
> --
> ilf
>
> Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg!
> 		-- Eine Initiative des Bundesamtes für Tastaturbenutzung

Reagrds

-Sven


_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux