util-linux/fsck
Karel Zak dd0bd943f9 fsck: add support for whole-disk locking (-l option)
This feature allows to call multiple independent fsck instances rather
than use only one "fsck -A" process.

The lock uses LOCK_EX flock(2). The lock request is ignored if the
whole-disk is non-rotating disk. The verbose mode (-V) provides
information about disk locking.

Note that "fsck -l" does not care if the device is stacked, for
example if you want to call "fsck -l /dev/md0" and "fsck -l /dev/md1"
then the underlying devices will not be locked. The traditional "fsck
-A" does not run in parallel for stacked devices.

Requested-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-10-26 14:22:28 +02:00
..
.gitignore build-sys: add fsck binary to .gitignore 2009-02-18 17:20:30 +01:00
Makefile.am fsck: improve whole-disk check, detect stacked devices 2010-08-19 15:33:45 +02:00
fsck.8 fsck: add support for whole-disk locking (-l option) 2010-10-26 14:22:28 +02:00
fsck.c fsck: add support for whole-disk locking (-l option) 2010-10-26 14:22:28 +02:00
fsck.h fsck: add support for whole-disk locking (-l option) 2010-10-26 14:22:28 +02:00