util-linux/disk-utils
Karel Zak 7a4f988542 fsck: use less aggressive method to detect mounted devices
We should not care about mountpoints in fsck if a device name
specified on command line, just check if the device is used somewhere
in /proc/self/mountinfo file.

Crazy people who use

	fsck /mountpoint

have to specify the mountpoint by the same format as in their fstab --
symlinks canonicalization is not supported.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=850965
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-24 19:20:33 +02:00
..
Makemodule.am resizepart: add new command 2012-08-13 22:10:14 +02:00
addpart.8 build-sys: move partx to disk-utils/ 2012-06-26 20:50:18 +02:00
addpart.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
blockdev.8 docs: uniformize the header and footer lines in man pages 2011-08-22 10:39:21 +02:00
blockdev.c fix buffer overrun in some calls to sscanf 2012-07-09 22:26:27 +02:00
cramfs.h cramfs.h: coding style 2011-07-21 23:50:04 +02:00
cramfs_common.c mkfs.cramfs: fix compiler warning [-Wmissing-prototypes] 2012-07-16 18:57:30 +02:00
delpart.8 build-sys: move partx to disk-utils/ 2012-06-26 20:50:18 +02:00
delpart.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
elvtune.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
elvtune.c disk-utils: verify writing to streams was successful 2012-04-04 20:04:39 +02:00
fdformat.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
fdformat.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
fsck.8 docs: fix all man page groff warnings 2012-06-02 20:29:12 +02:00
fsck.c fsck: use less aggressive method to detect mounted devices 2012-08-24 19:20:33 +02:00
fsck.cramfs.c fsck.cramfs: fix compiler warning [-Wmissing-prototypes] 2012-07-16 18:55:01 +02:00
fsck.minix.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
fsck.minix.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
isosize.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
isosize.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
minix_programs.h minix: cleanup global variables and macros 2011-07-21 12:13:33 +02:00
mkfs.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
mkfs.bfs.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
mkfs.bfs.c translation: unify stat error messages 2012-07-16 18:18:22 +02:00
mkfs.c disk-utils: verify writing to streams was successful 2012-04-04 20:04:39 +02:00
mkfs.cramfs.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
mkfs.minix.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
mkfs.minix.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
mkswap.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
mkswap.c mkswap: fix shadow declaration 2012-07-26 11:09:31 +02:00
partx.8 build-sys: move partx to disk-utils/ 2012-06-26 20:50:18 +02:00
partx.c partx: support -o +<attr> for adding attribute to output fields 2012-07-26 16:41:39 +02:00
partx.h resizepart: add new command 2012-08-13 22:10:14 +02:00
raw.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
raw.c raw: fix compiler warning [-Wmissing-prototypes] 2012-07-16 18:45:52 +02:00
resizepart.8 resizepart: add new command 2012-08-13 22:10:14 +02:00
resizepart.c resizepart: remove debug message 2012-08-14 08:33:39 +02:00
swaplabel.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
swaplabel.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00