]> git.ipfire.org Git - thirdparty/systemd.git/commit
TEST-64-UDEV-STORAGE: do not use -f/--force option for wipefs
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Aug 2025 00:30:22 +0000 (09:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 Sep 2025 15:18:53 +0000 (00:18 +0900)
commit0f8706915a5a8aae4791e09af12f81386ec9cc35
treef8ab0f0988702ad65da6da2e3c2077aa0233a9ee
parentcd8a1a8ef7a4eade1d11e28ccbb2fcd8f39b3f04
TEST-64-UDEV-STORAGE: do not use -f/--force option for wipefs

When -f/--force is used, wipefs does not call ioctl(BLKRRPART), hence
the partitions will remain in sysfs. Let's not use the option.

This also makes it use 'udevadm lock' for safety.
test/units/TEST-64-UDEV-STORAGE.sh