]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: use blkid_probe filters to restrict probing to supported FSes and no raid
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 10 Sep 2025 17:13:37 +0000 (18:13 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Sep 2025 12:46:24 +0000 (14:46 +0200)
commit72bf86663c2c9a4443457fdd6bd69714a234903d
tree9c3449dd363628eedc0a797d837ac56269713b41
parent413a1c51c479503f7a53c31b827b8ab8c387a9ef
dissect: use blkid_probe filters to restrict probing to supported FSes and no raid

We only support a subset of filesystems, and no RAID, for DDIs. blkid spends a lot
of time trying to probe for the filesystem type, so cut it short by using
the filtering options to restrict it to the filesystems we support, and to
exclude raid probing.
src/shared/dissect-image.c
src/shared/dissect-image.h