How to remove a damaged file
debian at herakles.homelinux.org
Wed Apr 23 14:46:47 UTC 2008
Anne Wilson wrote:
> On Wednesday 23 April 2008 15:15, John Summerfield wrote:
>> Anne Wilson wrote:
>>> Due to a loss of concentration I have a damaged directory called Packages
>>> on my pen-drive. I can't rm it - Input/output error. I've cleared
>>> everything else off. How can I get rid of this?
>> If that doesn't work, try fdisk and then mkfs. If it still doesn't work,
> I've used fdisk and mkfs on a blank disk, but I'm confused about this. I
> guess it's getting around the problem of FAT file-systems, but it appears to
> have one parition of 8GB and three empty ones. Something like LVM, I
> I don't feel that I know what I'm doing, here.
Did you try mkfs alone first?
fdisk can delete partitions. Read its help. Delete the partitions then
pretend it's blank.
btw You don't _have_ to put a FAT filesystem on it.
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
You cannot reply off-list:-)
More information about the test