]> sourceware.org Git - lvm2.git/commit
Scan also 'mount' output for mounted filesystem.
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 10 Nov 2010 10:03:07 +0000 (10:03 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 10 Nov 2010 10:03:07 +0000 (10:03 +0000)
commitb500eddad1a6195a6611f7ab900f7356050cae40
tree2313b285c4eb139afb9349f06db4ce6149113504
parenteb82bd052598cb6f5c3b94ccbf9b3e1434dd9419
Scan also 'mount' output for mounted filesystem.

As util-linux package seems to give all the time different names,
try harder to figure out, where is the given lv possible mounted
and scan /proc/mounts and if not found there, test also 'mount' output.

/dev/dm-xxx
/dev/mapper/vg-lv
/dev/vg/lv

All of them could be used different combination in /proc/mount and mount output.

Patch fixes regression for older systems where new detection code failed to
find valid combination.
scripts/fsadm.sh
This page took 0.029977 seconds and 5 git commands to generate.