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 »

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.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

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 »

lol , of cus i know that :) Obvious i wasnt in the directory when i mv it... i just didnt brother type out "cd .." here
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

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 »

I uograded to kernel 2.4.29 and patched from the CVS. The problem no longe occurs.
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

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 »

Yes, thats what i found out .. but it seems to still reside in gentoox kernel :?
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

To my knowledge, it was never fixed... if it was, no one told me.
The original Xbox adaptation of Gentoo
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

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