Re: EXT :Re: Disk Label Handling

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

 



On Fr, 26.07.19 14:07, Boyce, Kevin P [US] (AS) (Kevin.Boyce@xxxxxxx) wrote:

> The link_priority option to me does not seem to have a method where
> all devices with duplicated filesystem labels have a unique symlink.
> More importantly, this approach would only work if custom device
> specific rules are added, not for the generic rule
> "ENV{ID_FS_USAGE}=="filesystem|other|crypto",
> ENV{ID_FS_LABEL_ENC}=="?*",
> SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"" as in the
> 60-persistent-storage.rules file.

There's no logic for generating alternative names in case of
conflict. But I mean, what are the by-label names good for if you
don't know what they point to?

The fix for non-unique labels is not making them magically unique in
non-deterministic ways but by changing them in the first place on disk
or not using htem at all (and uisng uuids or such)

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux