commit | 2038b636b2a72d997b7a6b4123e50d7f8dcb7108 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Sep 14 07:44:25 2001 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Sep 14 07:44:25 2001 -0400 |
tree | 42a2a5a3a933e8b3570547229f6b63b9661ee600 | |
parent | 3f85f65c98183c3871e24f285e5b3e1e97afd9f5 [diff] |
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.)