Missing Directories on fatx after renaming with case changed

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
duckweed
Newbie
Posts: 5
Joined: Fri Nov 14, 2003 10:57 am

Missing Directories on fatx after renaming with case changed

Post by duckweed » Sat Feb 05, 2005 3:59 am

Hi all ,

I lost a large directory in my fatx f: after renaming the directory. Is this a know problem. Im able to duplicate the problem in the test given below. My system is update to the latest Magic and emerge -u -D system


> My Test
>
> # mkdir AbC
> # cd AbC
> # touch 123
> # mv AbC ABC
> [Magic occurs at this point and the directory disappears]
>
> # mkdir ABC
> mkdir: cannot create directory `ABC': File exists
>
> #ls
> [Nothing]
>
> # rm -r ABC
>
> 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:
> `ABC/AbC'
>

Chan anyone shed any light on this problem ? Thanks in advance.

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sat Feb 05, 2005 12:58 pm

do

Code: Select all

mkdir abc
cd abc
touch 123
cd ..
mv abc ABC
ls
You can't move the directory whilst you're still in it.
If you keep an open mind, will your brain fall out?

duckweed
Newbie
Posts: 5
Joined: Fri Nov 14, 2003 10:57 am

Post by duckweed » Sat Feb 05, 2005 7:24 pm

lol , of cus i know that :) Obvious i wasnt in the directory when i mv it... i just didnt brother type out "cd .." here

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sat Feb 05, 2005 7:46 pm

sounds like a bug in the fatx driver then.
If you keep an open mind, will your brain fall out?

duckweed
Newbie
Posts: 5
Joined: Fri Nov 14, 2003 10:57 am

Post by duckweed » Sat Feb 05, 2005 7:55 pm

I uograded to kernel 2.4.29 and patched from the CVS. The problem no longe occurs.

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Feb 06, 2005 2:22 am

This is a known (classic) FatX driver bug.
The original Xbox adaptation of Gentoo

duckweed
Newbie
Posts: 5
Joined: Fri Nov 14, 2003 10:57 am

Post by duckweed » Sun Feb 06, 2005 5:53 am

Yes, thats what i found out .. but it seems to still reside in gentoox kernel :?

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Feb 06, 2005 7:48 pm

To my knowledge, it was never fixed... if it was, no one told me.
The original Xbox adaptation of Gentoo

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Feb 06, 2005 7:58 pm

My bad, it was fixed... *mutters 10 months ago* *cough*. Ill merge it now.
The original Xbox adaptation of Gentoo

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests