Re: Pendrive corrupted filesystem
Rodolfo Medina wrote:
>> When I try to remove a certain directory from my pendrive,
>> the following error message appears:
>> $ rm -vr to-be-removed
>> rm: WARNING: Circular directory structure.
>> This almost certainly means that you have a corrupted file system.
>> NOTIFY YOUR SYSTEM MANAGER.
>> The following directory is part of the cycle:
>> . Do I have to throw it away, or is there a way to repair it?
Owen Heisler <email@example.com> writes:
> You certainly don't need to throw away the drive (just use fdisk to
> repartition and mkdosfs to format it), but I don't know about the data
> on the filesystem now.
The data are safe at the moment.
All the directories different from `to-be-removed' seem all right.
I'll be trying fdisk and mkdosfs as you suggest.