Whamcloud - gitweb
ismounted.c (check_mntent_file): We now validate the entry in
authorTheodore Ts'o <tytso@mit.edu>
Fri, 14 Sep 2001 11:44:25 +0000 (07:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 14 Sep 2001 11:44:25 +0000 (07:44 -0400)
commit2038b636b2a72d997b7a6b4123e50d7f8dcb7108
tree42a2a5a3a933e8b3570547229f6b63b9661ee600
parent3f85f65c98183c3871e24f285e5b3e1e97afd9f5
ismounted.c (check_mntent_file): We now validate the entry in
/etc/mtab to make sure the filesystem is really mounted,
since some broken distributions (read: Slackware) have
buggy boot scripts that don't initialize /etc/mtab before
checking non-root filesystems.  (Slackware also doesn't
check the root filesystem separately, and reboot if the
root filesystem had changes applied to it, which is
dangerous and broken.)
lib/ext2fs/ChangeLog
lib/ext2fs/ismounted.c