Re: persistent naming: add ID in addition to UUID

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

 



On Sun, July 26, 2015 19:02, ilf wrote:
> Cryptsetup currently allows "LUKS UUID in the format UUID=<uuid>.
> Translation to real device name uses symlinks in /dev/disk/by-uuid
> directory", as quoted from man/cryptsetup.8.
>
> Is there a reason why other persistent block device naming schemes are
> not supported? I for one would love to use by-id, "a unique name
> depending on the hardware serial number":
> https://wiki.archlinux.org/index.php/Persistent_block_device_naming#by-id_and_by-path
>
> I am aware of the difference addressing hardware and LUKS header, but in
> my use case, I actually *do* want to address hardware in crypttab at al.
>
Since you want to use crypttab anyway, is there any particular reason not
to use /dev/disk/by-id/<identifier>? As UUID=<uuid> needs proper symlinks
anyway, it is rather a handy shorthand at the commandline.

> Thanks, and keep up the good work!
>
> --
> ilf
>

-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