Re: VFAT oops (the fun just keeps on coming)

CaT (cat@zip.com.au)
Fri, 22 Jan 1999 02:12:48 +1100 (EST)


Alexander Viro wrote the following:
>
>
>
> On Wed, 20 Jan 1999, CaT wrote:
>
> >
> > Here we go, here we go, here we go...
> >
> > I think reality is playing a nasty, evil and bastardly
> > trick on me to make me delurk. I wish it stopped...
> [snip]
>
> WTF??? Somebody called vfat_remove_entry() with NULL victim?
> vfat_rename()? <looking at the source> Oh, shit!
>
> Linus, sorry, I had a bad braino in the last part of vfat patch.
> Darn... call of vfat_remove_entry() should go one level deeper. Shame on
> me. Fix:
>
> --- linux/fs/vfat/namei.c.old Wed Jan 20 15:03:01 1999
> +++ linux/fs/vfat/namei.c Wed Jan 20 15:03:42 1999

Well that fixed things and didn't blow up my vfat partitions. :)

Hassle:

1025.root@kinder:/mars/red/amiga>> mv 2/zip/dl/NSDPatch43_15.lha amiga
mv: cannot move `2/zip/dl/NSDPatch43_15.lha' to `amiga/NSDPatch43_15.lha': No such file or directory
1026.root@kinder:/mars/red/amiga>> ll 2/zip/dl/NSDPatch43_15.lha amiga/
28 -rwxr-xr-x 1 root root 28036 Nov 30 16:52 2/zip/dl/NSDPatch43_15.lha

amiga/:
total 8
4 drwxr-xr-x 2 root root 4096 Jan 22 00:15 .
4 drwxr-xr-x 7 root root 4096 Jan 22 00:15 ..

As far as I can understand things, the move SHOULD have worked, no?

btw, I did go to win98 (may my HD forgive me.. such thrashing at bootup)
and ran scandisk ont he partition and it fixed the errors that were
present. one of the problems were that the drive was being incorrectly
reported as full (both vfat partitions got fubared in this way). scan disk
fixed this.

-- 
CaT (cat@zip.net.au)                       URL: http://www.zip.com.au/dev/null

There was farting in the air that night, It lit so bright, Fernando...

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/