Messages in this thread | | | Date | Sun, 1 Mar 1998 21:12:44 +0100 (CET) | From | Peter-Paul Witta <> | Subject | WEIRD ext2fs dir size BUG? |
| |
hi!
i did some weird testing on ext2fs (2.0.33) and encountered the following problem:
after touching 10000 files in a dir (all size 0), i deleted those files. after the deletion of the files the directory size is far too big.
paul@snoopy:/home/paul > ls -ld test drwxr-xr-x 2 paul users 313344 Mar 1 21:07 test
the script i used to create the files was:
================= #!/bin/sh
i=0 while test "$i" != "1000" ; do touch test.$i let i=$i+1 ; done
echo 1000
i=0 while test "$i" != "1000" ; do touch test.$i let i=$i+1 ; done echo 2000 . . . . echo 8000 while test "$i" != "9999" ; do touch test.$i let i=$i+1 ; done echo 9999 ==============
kind regards, http://stud2.tuwien.ac.at/~e9525748/ Peter-Paul Witta mailto:e9525748@student.tuwien.ac.at FIDO 2:310/22.264 SAMBA SUPPORT - FAX SOLUTIONS - INTRANET / EXTRANET - DBMS SQL SOLUTIONS
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |