]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fsck: use libmount for filesystem list
authorKarel Zak <kzak@redhat.com>
Wed, 15 Feb 2012 13:07:06 +0000 (14:07 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Mar 2012 10:22:08 +0000 (11:22 +0100)
commit2b5051242ec082f12126ae552d12d79d590fe86f
tree90b2a1af8700330d5d029c8eecfef40185403c5a
parent947558f53fcf81c20cc27f12a26afd9384b55f89
fsck: use libmount for filesystem list

libmount provides all necessary functionality required in fsck for
work with filesystems descriptions.

This patch seems large and invasive, because removes fsck_fs struct,
changes:

  - use libmnt to parse fstab
  - use libmnt_fs from libmount
  - replace "fs->" with mnt_fs_* or fs_* functions

Signed-off-by: Karel Zak <kzak@redhat.com>
fsck/Makefile.am
fsck/fsck.c
fsck/fsck.h