summaryrefslogtreecommitdiffstats
path: root/lib/ismounted.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: [ismounted] don't wast time with mtab is /proc/mounts usedKarel Zak2010-11-241-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* portability: fix mntent.h and pty.h usageFrançois Revol2010-07-261-0/+6
| | | | | Signed-off-by: François Revol <revol@free.fr> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: minor changes for GNU/HurdSamuel Thibault2010-06-141-0/+1
| | | | | | Here is a patch to fix the build on GNU/Hurd. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* lib: import whole ismounted.c code from e2fsprogsKarel Zak2009-10-141-70/+232
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: fix file descriptor leak in is_mounted()Theodore Ts'o2009-10-031-3/+0Star
| | | | | | Remove an extraneous fopen() that leaks memory and a file descriptor. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* lib: do not include <linux/fd.h> in ismounted.cAurelien Jarno2009-04-201-1/+0Star
| | | | | | | <linux/fd.h> is included for no reason in lib/ismounted.c. This obviously breaks on non-Linux systems. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* tests: add fsck:ismounted reg.testKarel Zak2009-02-181-4/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add test_ismounted for regression testKarel Zak2009-02-181-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: cosmetic changes (NLS, paths, ...)Karel Zak2009-02-181-3/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: move fsck from e2fsprogs to util-linux-ngKarel Zak2009-02-181-0/+199
Signed-off-by: Karel Zak <kzak@redhat.com>