VFS bug
Michal Belczyk
diavul at bsd.krakow.pl
Sun Nov 28 10:28:09 PST 2004
Hello,
this is what I got today, the system is:
envy# uname -a
DragonFly envy.bsd.krakow.pl 1.1-Stable DragonFly 1.1-Stable #0: Fri Nov 26
13:30:52 GMT 2004
root at xxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC i386
envy# cd /cvs
envy# ls -l
total 571266
drwxr-xr-x 5 root wheel 512 Nov 28 16:03 DragonFly
-rw-r--r-- 1 root wheel 584810482 Nov 28 17:55 freebsd.pax.gz
envy# mkdir FreeBSD
envy# cd FreeBSD
envy# pax -r -z -f ../freebsd.pax.gz
[...]
pax: Could not create: ./CVSROOT/commitlogs/distrib <No such file or directory>
pax: Unable to create ./CVSROOT/checkoutlist <No such file or directory>
pax: Unable to create ./CVSROOT/checkoutlist,v <No such file or directory>
pax: Unable to create ./CVSROOT/commitinfo <No such file or directory>
[...]
envy# ls
ls: .: No such file or directory
envy# ls ..
ls: ..: No such file or directory
envy# cd /cvs
envy# ls -l
total 571266
drwxr-xr-x 5 root wheel 512 Nov 28 16:03 DragonFly
-rw-r--r-- 1 root wheel 584810482 Nov 28 17:55 freebsd.pax.gz
However:
envy# cd /cvs
envy# ls -l
total 571266
drwxr-xr-x 5 root wheel 512 Nov 28 16:03 DragonFly
-rw-r--r-- 1 root wheel 584810482 Nov 28 17:55 freebsd.pax.gz
envy# mkdir aaa
envy# cd aaa
envy# touch bla
envy# pax -r -z -f ../freebsd.pax.gz
^C
pax: Signal caught, cleaning up.
pax: ustar vol 1, 2762 files, 67214491 bytes read, 0 bytes written.
envy# ls -l
total 14
drwxr-xr-x 5 root wheel 1024 Nov 28 17:01 CVSROOT
drwxr-xr-x 5 root wheel 1536 Nov 19 05:01 CVSROOT-doc
drwxr-xr-x 5 root wheel 1536 Nov 28 17:01 CVSROOT-ports
drwxr-xr-x 5 root wheel 1536 Aug 29 20:17 CVSROOT-projects
drwxr-xr-x 6 root wheel 2048 Nov 11 05:01 CVSROOT-src
-rw-r--r-- 1 root wheel 0 Nov 28 19:15 bla
drwxr-xr-x 3 root wheel 512 Aug 29 20:19 distrib
drwxr-xr-x 9 root wheel 512 Sep 27 04:45 doc
works perfectly. All you need to trigger this bug is an empty direcory.
--
Michal Belczyk
More information about the Kernel
mailing list