Ext2fs strange errors on -CURRENT.

Neh neh at onerd.com.br
Wed Jul 6 01:29:49 GMT 2005


I'm having some problems using ext2fs.
I have a mounted ext2 partition. It mounts ok.
I can do "ls dir" and it show me the contents.
But when i type "ls -l dir" for example, i got messages like:
"no such file or directory"

I can do "cp" to that partition, can do "rm" in some file, but copying from
there or deleting recursive, like "rm -rf" show me "no such file or
directory"

some outputs:

root at plasma# uname -a
FreeBSD plasma.box.org 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Tue Jul  5
21:22:11 BRT 2005     root at plasma.box.org:/usr/src/sys/i386/compile/JAH 
i386

root at plasma# mount
/dev/ad0s4a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s4e on /tmp (ufs, local, soft-updates)
/dev/ad0s4f on /usr (ufs, local, soft-updates)
/dev/ad0s4d on /var (ufs, local, soft-updates)
/dev/ad0s3 on /mnt (ext2fs, local)

root at plasma# pwd
/mnt
root at plasma# ls
gabi            lero            lfs.old         rootz
ktrace.out      lfs             lost+found
root at plasma# ls -l
ls: gabi: No such file or directory
ls: ktrace.out: No such file or directory
ls: lero: No such file or directory
ls: lfs: No such file or directory
ls: lfs.old: No such file or directory
ls: lost+found: No such file or directory
ls: rootz: No such file or directory
total 0

I checked it on 5.4-STABLE and it's working ok.

I have used ktrace to see what's going, but i can't say what is, so i
included the output of both "ls" and "ls -l" here:

http://sp-dhn.com.br/~neh/freebsd/



More information about the freebsd-current mailing list