2 Commits

Author SHA1 Message Date
Will Fancher
5dd424b9f6 udev rules: Add per-member links in /dev/disk/by-uuid
The standard udev rules create a `/dev/disk/by-uuid/` link using the
FS's global UUID. This is good. It means the FS UUID can be used to
wait for *any* device that's a member of the FS. But, for a
multi-device file system, users are advised to add the options
`x-systemd.wants=/dev/disk/by-id/xyz` using some ID that's unique to
each specific disk. This way systemd knows to wait for each member. If
any of them times out, the use of `wants` rather than `requires`
allows for a degraded mount to be attempted, if the user has
configured the `degraded` option.

This adds a per-member UUID link in `/dev/disk/by-uuid/` to use for
this purpose.
2025-10-12 19:22:19 -04:00
Alexander Fougner
1c2cb80376 fix udev rules path
- include rules file in rpmspec
- update install docs with udev build requirement

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-06 15:41:05 -05:00