Wilfully dirtying a filesystem

Chris Whitehouse chris at childeric.freeserve.co.uk
Thu Aug 17 20:39:59 UTC 2006


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

clri (8) possibly?

http://groups.google.com/group/fa.freebsd.questions/browse_thread/thread/b031f4a77ccd26a3/0e8f61e4e58fd4a5?lnk=st&q=group%3A*.freebsd.*+%22terminated+with+1+(non-zero)+status%3A+Cross-device+link%22&rnum=3#0e8f61e4e58fd4a5

look for clri

Chris



More information about the freebsd-questions mailing list