]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fsck: use PATH or fallback to /sbin
authorKarel Zak <kzak@redhat.com>
Mon, 27 Apr 2015 08:51:33 +0000 (10:51 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Apr 2015 08:52:09 +0000 (10:52 +0200)
commita03bdbcd2029ed1b002d45a028f6e706845fa566
tree6c334e2b16b20d9d76efc7769404275d13968d7d
parentf1bc59963fb2cf755fa1373c4f86fe8a6bdc2bf8
fsck: use PATH or fallback to /sbin

It's overkill to support all the obscure paths like /sbin/fs.d. We
have PATH for customization, that's enough.

It still seems like a good idea to keep fsck robust, because it's used
by boot scripts/systemd. For this reason fsck fallbacks to "/sbin" if
PATH is undefined or empty.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fsck.8
disk-utils/fsck.c