hi,
On Thu, Jun 28, 2001 at 09:13:32AM -0500, Steve Lord wrote:
>
> ...
> 3. edit /etc/mtab and make sure that / shows up with a ro mount:
>
> /dev/hda1 / xfs ro 0 0
>
there's a couple of problems in the userspace code which we can
fix up - firstly, there's a bug in the current readonly mount
detection code; we can also do a better job to workaround the
readonly-root-so-no-mtab-updates problem by using /proc/mounts
if its there (falling back to /etc/mtab if its not).
> ...
> You can now run xfs_repair -n on the filesystem, it will still not let
> you do an actual repair on it.
>
yup - for the record, thats the correct behaviour with -n (must be
a readonly mount); and repair should not run at all on a mounted fs
without the -n option (irrespective of readonly state).
cheers.
--
Nathan
|