Summary: | g_udev_client_query_by_device_number fails on disks with subvolumes | ||
---|---|---|---|
Product: | systemd | Reporter: | Jussi Pakkanen <jpakkane> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED NOTABUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Source code to demonstrate the issue |
Description
Jussi Pakkanen
2013-07-08 14:48:43 UTC
Btrfs volumes are like NFS or tmpfs, a superblock without any associated device. The behavior is expected and intentional. Btrfs volumes might be constructed of many volumes, there cannot be the concept of *that* device, like the "dumb" filesystems use. There is no way for the udev API to find out which device is behind a btrfs volume. Btrfs specific command need to be used to determine that, no generic interface exists for that task. Would it be possible for you to add a comment to the reference documentation about this so other people don't have to spend time with this issue? The page on GUdevClient does not mention subvolumes. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.