According to Rodolfo Medina,
> Hi.
> 
> 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?
> Thanks,
> Rodolfo

You can try formatting it, e.g. mkfs.vfat /dev/mypendrive

A side note/tip:  It can be good to mount these types of
drives with -o sync.  I've pulled out my usb flash drive by
mistake before it was really done because without option
sync cp and mv would return as soon as the operation was 
queued.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to