FSCKing a RO partition

Rick C. Petty rick-freebsd at kiwi-computer.com
Fri Nov 3 20:35:04 UTC 2006


On Thu, Nov 02, 2006 at 03:39:15PM +0100, VANHULLEBUS Yvan wrote:
> 
> (problem reported first to FreeBSD-hackers, where people told me
> "GEOM"....).
> 
> [background]
> When the system starts up, root partition is already monted RO, and
> fsck works, without any problems, without any warning.

As explained on -hackers, this is a bug, introduced at the same time as
UFS2, soft updates, background fsck, and GEOM..  that is: 5.x.  I hope
someone here in -geom can look into it.  Maybe filing a PR might help?

> But under FreeBSD6 (and I guess 5, but I don't have a running FreeBSD5
> host), fsck says "NO WRITE ACCESS", then starts its stuff (but I fear
> what will happen if it detect problems on the filesystem....).

It won't be able to fix the problems, because writing has been disabled.
This is definately a regression.  I started looking into it, but never
had the time to produce a patch.

-- Rick C. Petty


More information about the freebsd-geom mailing list