Wilfully dirtying a filesystem

Ceri Davies ceri at submonkey.net
Thu Aug 17 19:19:39 UTC 2006


On Thu, Aug 17, 2006 at 08:11:42PM +0100, Ceri Davies wrote:
> On Thu, Aug 17, 2006 at 02:58:03PM -0400, Jerry McAllister wrote:
> > > 
> > > Hello Ceri,
> > > 
> > > Thursday, August 17, 2006, 6:55:08 PM, you wrote:
> > > 
> > > > I have a system on which /usr is slightly hosed, but not badly enough
> > > > for it to fail a preen fsck.
> > > 
> > > > I cannot easily get to single-user on this machine, so is there a good
> > > > way for me to dirty the filesystem just enough to force "fsck -p" to
> > > > fail (yanking power also difficult)?  "umount -f /usr; reboot" doesn't
> > > > seem to work...
> > 
> > 
> > Is 'fsck -f' not a possibility?
> 
> No, because I can't unmount /usr.

Actually, that does nicely, thanks.  I had hoped to avoid editing any
startup scripts, but I don't really know why :)

Cheers,

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060817/25104862/attachment.pgp


More information about the freebsd-questions mailing list