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

Re: FAT filesystem with a directory cycle



On Thu, Mar 03, 2011 at 09:51:14AM +0100, Alex Mestiashvili wrote:
> On 03/03/2011 06:20 AM, Joel Roth wrote:
> >Hi,
> >
> >I'm repairing a system for a friend with a FAT filesystem
> >problem.
> >
> >There is a directory cycle, so that for example:
> >
> >    rm -rf directory_with_cycle
> >
> >doesn't work, because rm encounters and endless succession
> >of subdirectories.
> >
> >The directory content is not important, however I'd be
> >interested in knowing some FAT references that could help
> >me to eliminate the loop and remove the directory.
> >
> >Regards,
> >
> I would run the fsck.vfat ( dosfstools package) on the unmounted partition.

I tried that; fsck.vfat gets stuck in a loop as it descends
into a subdirectory that contains its own ancestor.

Thanks anyway!

> Regards ,
> Alex
-- 
Joel Roth


Reply to: