"files" that can't be deleted
(Sorry for being so wordy!)
About your drive being bad: let's not put the cart in from ot the oxen for
now.
There exists diagnostics software that will tell you which sectors or section
of the HD are (is) bad. And then you can do one partition before the defect
and one partition after -- if you have only one defective part.
But let's not conclude anything for now.
About your drive being bad: let's not put the cart in from ot the oxen for
now.
There exists diagnostics software that will tell you which sectors or section
of the HD are (is) bad. And then you can do one partition before the defect
and one partition after -- if you have only one defective part.
But let's not conclude anything for now.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Definitely looks like the same files. I don't remember it happening, but I could believe that the computer locked up while I was deleting the wine directory.musher0 wrote:In any Puppy, have a look at (cd to)
/usr/share/zoneinfo/Africa
Very similar. It's used mostly by the date utility, but also (not 100 %
sure) by the ntp protocol (when its utilities are installed).
Maybe the leftover from a incomplete formatting or partitioning. A power
outage occurred while formatting was going on, maybe?
It's sda1, ntfs.musher0 wrote:Do you have a similar sdXY part in the path of your weird files?
This comparison will tell us the name of the partition and its format.
Not really worried about it if all it is is the power going off while files were being deleted. As long as there's no risk to the rest of the disk, I'm content to ignore them.
try
Code: Select all
chattr -i -a yourfilename
rm -f yourfilename
Code: Select all
root# chattr -i -a America
chattr: Input/output error while trying to stat America
root# rm -f America
rm: cannot remove 'America': Input/output error
You could try the following. Make sure the partition is not mounted (boot off a usb-stick or CD ROM if necessary)
sdxx being a substitute for your partition name (i.g. /dev/sda1, etc.) If necessary use to identify your partition.
Then try to delete the file. If that doesn't work, you probably have a hardware issue.
Code: Select all
fsck /dev/sdxx
Code: Select all
lsblk
Then try to delete the file. If that doesn't work, you probably have a hardware issue.
Shucks. (Please note that I myself live on this continent!)Saladin wrote:Code: Select all
root# chattr -i -a America chattr: Input/output error while trying to stat America root# rm -f America rm: cannot remove 'America': Input/output error
Silly joke aside, if we are talking about the /usr/share/zoneinfo directory,
"America" is a sub-directory of it, with stuff in it. So rm -f only won't cut it.
The command needs to be:
Code: Select all
rm -f -r America
Without the -r you will only erase the first level.
And to make double sure it's gone, it won't hurt to use
Code: Select all
rmdir --ignore-fail-on-non-empty America
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)