summaryrefslogtreecommitdiffstats
path: root/rules.d/60-block.rules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* udev: allow persistent storage rules for ublk devicesUday Shankar2024-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | Tools such as lsblk which query the udev database instead of probing devices directly fail when run on ublk devices. For instance, in the following commands, the partition type is missing, despite the fact that /dev/ublkb0 was just partitioned with a single Linux filesystem type partition. $ lsblk /dev/ublkb0 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS ublkb0 259:0 0 31.3G 0 disk └─ublkb0p1 259:1 0 31.2G 0 part $ lsblk -o pkname,parttype /dev/ublkb0 PKNAME PARTTYPE ublkb0 This happens because ublk devices are missing from a couple of whitelists in the udev rules which are responsible for populating the database with the data lsblk is looking for. Add the ublk devices to these whitelists.
* udev: allow persistent storage rules for zram devicesKarel Zak2024-09-111-1/+1
| | | | | | | The /dev/zramN devices can be used as regular block devices. They are typically used for swap areas, but it would be beneficial to have LABEL and UUID in the udev database to make it more user-friendly for tools such as lsblk or mount (if used with other filesystems).
* udev: allow persistent storage rules for rbd devicesPeter Rajnoha2024-09-061-1/+1
| | | | | | The RADOS Block Device (rbd) can be used as any other block device with further layers on top of it, hence allow the common persistent storage rules to apply, including watching for changes.
* Rename udev's rules/ to rules.d/Zbigniew Jędrzejewski-Szmek2019-10-101-0/+13
This change is only about the source tree. We have tmpfiles.d/, modprobe.d/, sysctl.d/, and sysusers.d/, but for historical reasons, rules/ didn't fit this pattern. We also *install* it as rules.d/. Let's rename to be consistent.