mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-07 00:00:12 +03:00
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.