Whamcloud - gitweb
ChangeLog, ismounted.c:
authorTheodore Ts'o <tytso@mit.edu>
Fri, 15 Jun 2001 18:33:43 +0000 (18:33 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Jun 2001 18:33:43 +0000 (18:33 +0000)
commit997b820e94468aeb3fb1a6fd38bc52e34af6f9e6
tree60a9d891f0a4af98cec704081f67cc0f70922d23
parenta35bcab0dd7cd39bbce3af398f9069a925c70e09
ChangeLog, ismounted.c:
  ismounted.c (check_mntent_file): Use a test file in / to check to see
   if the root filesystem is mounted read-only.  This protects against
   the case where /etc might not be on /, as well as the case where
   /etc/mtab doesn't exist.  (Both are should-never happen scenarios, but
   you never know...)
lib/ext2fs/ChangeLog
lib/ext2fs/ismounted.c