[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bad file



On Sat, 13 Oct 2001 22:18:55 PDT, Kevin writes:
>its got nothing to do with the attribs or the perms
>
>lsattr: Inappropriate ioctl for device While reading flags on ./guide.it.html
>
>and i cant fsck it because im not local and cant go to single user. 
>oh well, thanks for the help

Maybe you don't need to go to single-user-mode, if you can just 
 unmount the partition (eg if there's nothing on it your shell depends 
 on)...

Personally I'd try something like
 `umount /whereever; fsck.ext2 -y -c -f -v /dev/bla; mount /whereever`

If you have some idea about how long a fsck usually takes, you can 
 schedule a reboot for some time later. If the fsck and re-mount worked, 
 you can still cancel it. `echo "reboot" | at now+2hours`, atq and atrm 
 for canceling.

cheers,
&rw
-- 
-- Too much is just enough.
-- Mark Twain (on whiskey)


Attachment: pgpw3yLbzNNBE.pgp
Description: PGP signature


Reply to: