1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00
systemd/rules.d
Karel Zak 4fcc033b54 udev-builtin-blkid: add support for --hint offsets
The next libblkid v2.37 is going to support session offsets for
multi-session CD/DVDs. This feature is implemented by "hint offsets".

These offsets are optional and prober specific (e.g., iso, udf, ...).
For this purpose, the library provides a new function
blkid_probe_set_hint(), and blkid(8) provides a new command-line
option --hint <name>=<offset>. For CD/DVD, the offset name is
"session_offset".

The difference between classic --offset and the new --hint is that
--offset is very restrictive and defines the probing area and the rest
of the device is invisible to the library. The new --hint works
like a suggestion, it provides a hint where the user assumes the
filesystem, but the rest of the device is still readable for the
library (for example, to get some additional superblock information
etc.).

If the --hint is without a value then it defaults to zero.

The option --hint implementation in udev-builtin-blkid.c is backwardly
compatible. If compiled against old libblkid, then the option is used in
the same way as --offset.

Addresses: https://github.com/karelzak/util-linux/issues/1161
Addresses: https://github.com/systemd/systemd/pull/17424
2021-01-13 00:58:43 +09:00
..
50-udev-default.rules.in rules.d: Add rule for the /sys/class/dmi/id device 2020-12-04 11:22:49 +01:00
60-autosuspend.rules tools: rewrite make-autosuspend-rules.py and add udev rules 2020-06-22 14:45:20 +02:00
60-block.rules
60-cdrom_id.rules
60-drm.rules
60-evdev.rules rules.d: import the keyboard builtin instead of running it 2020-03-01 14:04:30 +01:00
60-fido-id.rules
60-input-id.rules
60-persistent-alsa.rules
60-persistent-input.rules
60-persistent-storage-tape.rules
60-persistent-storage.rules udev-builtin-blkid: add support for --hint offsets 2021-01-13 00:58:43 +09:00
60-persistent-v4l.rules
60-sensor.rules
60-serial.rules udev: do not execute hwdb builtin import twice or thrice 2020-06-18 18:25:15 +02:00
64-btrfs.rules.in
70-joystick.rules
70-memory.rules udev: Extract RAM properties from DMI information 2020-12-16 18:32:29 +01:00
70-mouse.rules
70-touchpad.rules
75-net-description.rules
75-probe_mtd.rules
78-sound-card.rules
80-drivers.rules
80-net-setup-link.rules udev: re-assign ID_NET_DRIVER=, ID_NET_LINK_FILE=, ID_NET_NAME= properties on non-'add' uevent 2020-09-15 11:29:35 +09:00
99-systemd.rules.in rules: drop broken links 2020-12-16 02:31:44 +09:00
meson.build meson: Disable dmi_memory_id on arches without DMI 2020-12-16 19:21:19 +01:00