Wilfully dirtying a filesystem

Jerry McAllister jerrymc at clunix.cl.msu.edu
Thu Aug 17 18:58:04 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...


Is 'fsck -f' not a possibility?

////jerry


> 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
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list