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

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:
>>   `to-be-removed/News/to-be-removed/News'
>> 
>> . Do I have to throw it away, or is there a way to repair it?




Owen Heisler <owenh000@gmail.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.

Thanks,
Rodolfo



Reply to: