Fscking a partition mounted Read only...

VANHULLEBUS Yvan vanhu_bsd at zeninc.net
Fri Oct 13 01:32:04 PDT 2006


On Fri, Oct 13, 2006 at 10:04:07AM +0200, Joerg Sonnenberger wrote:
> On Fri, Oct 13, 2006 at 09:41:37AM +0200, VANHULLEBUS Yvan wrote:
> > 
> > Later, if root filesystem is remounted readonly, then fsck is called,
> > it will says "NO WRITE ACCESS".
> 
> mount -ur /
> 
> or if your fstab is not matching the system configuration
> 
> mount -ur /dev/$ROOT /

That's what I tried (using the mount command or the mount syscall).

Fsck runs, but starts by "NO WRITE ACCESS", and I don't know what will
happen if it detects and try to fix some problems on the filesystem.


Yvan.

-- 
NETASQ
http://www.netasq.com


More information about the freebsd-hackers mailing list