Wilfully dirtying a filesystem

Daniel Gerzo danger at rulez.sk
Thu Aug 17 18:19:39 UTC 2006


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...

I have been told maybe a week ago that umount -f is badly broken and
might lead to the deadlock, therefore I would avoid using it :)

> Ceri

-- 
Best regards,
 Daniel                            mailto:danger at rulez.sk



More information about the freebsd-questions mailing list