init 1
mount / -o remount,ro
e2fsck -f /dev/hda1
mount / -o remount,rw
init 3
cd /linux1/g1/kleen/
rm car.jpg

Go to single user mode, remount the file system read only, run extended2
file system check in forced mode, correct errors found, remount the
file system read/write, go back to run level3 (you may want to try
init 5, if you normally boot to X) and then delete the file, if it's there.
My guess is that it won't be there, so you may get an error message on
that last line... but that's what you want, right? :)

Bill Ward
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 11, 2000 9:56 PM
To: [EMAIL PROTECTED]
Cc: recipient.list.not.shown; @nswcphdn.navy.mil
Subject: file cannot be stat-ed???


I have a file in a directory that can not be seen, but is causing problems
with accessing ANY file in the same directory:

[root@localhost /root]# rm /linux1/g1/kleen/car.jpg
rm: cannot remove `/linux1/g1/kleen/car.jpg': Input/output error
[root@localhost /root]# rm -- /linux1/g1/kleen/car.jpg
rm: cannot remove `/linux1/g1/kleen/car.jpg': Input/output error
[root@localhost /root]# ls -l /linux1/g1/kleen/car.jpg
ls: /linux1/g1/kleen/car.jpg: Input/output error

When I use the gnome file manager to access a file in that directory, I
get a different error:

     File exists but cannot be stat-ed: car.jpg input/output error

The old standbye: 'rm -- ' hasn't worked either.

How can I get rid of this file and these errors?

Thanx.


                             - Martin J. Brown, Jr. -
                             - [EMAIL PROTECTED] -

               PGP key id#: E87466BB keyserver: certserver.pgp.com



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to