diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-11-30 23:00:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-12-01 22:09:30 +0100 |
commit | c80c9079c895f8e0285682a99fb3f91b892b8734 (patch) | |
tree | 08095fe8997be3bff2afe45311c8da6b6deaf854 /man | |
parent | test-loop-block: let's explicitly flush buffer cache on whole block device (diff) | |
download | systemd-c80c9079c895f8e0285682a99fb3f91b892b8734.tar.xz systemd-c80c9079c895f8e0285682a99fb3f91b892b8734.zip |
dissect-image: probe file system via main block device fd/image file fd
let's make sure we can probe file systems also when unprivileged:
instead of probing the partition block devices for file system
signatures, let's go via the original "whole" fd.
libblkid makes this easy actually, as it allows us to specify the
offset/size of the area to probe. And we have the partition
offsets/sizes anyway, so it's trivial for us to make use of.
This thus enables fs probing also when lacking privs and operating on
naked regular files without loopback devices or anything like this.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions