]> sourceware.org Git - lvm2.git/commit
fsadm: better check for getsize64 support
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 25 Oct 2020 19:19:31 +0000 (20:19 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 26 Oct 2020 12:06:52 +0000 (13:06 +0100)
commitb0333841352b76ce13464b82cb1876ea82b80351
tree02bdda9ffa0a00c775cc8a226fdb0f32cc8f7e07
parent2183af62e56ff68e77eb29c7da9fcf2445b30eba
fsadm: better check for getsize64 support

Older blockdev tool return failure error code with --help,
and since now the tool abort on command failure, lets
detect missing --getsize64 support directly by running
command and check if it returns something usable.

It's likely very hard to have the system with
such old blockdev tool and newer lvm2 compiled.
scripts/fsadm.sh
This page took 0.039467 seconds and 5 git commands to generate.