commit | 997b820e94468aeb3fb1a6fd38bc52e34af6f9e6 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Jun 15 18:33:43 2001 +0000 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jun 15 18:33:43 2001 +0000 |
tree | 60a9d891f0a4af98cec704081f67cc0f70922d23 | |
parent | a35bcab0dd7cd39bbce3af398f9069a925c70e09 [diff] |
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...)