[Bugme-new] [Bug 2717] New: on JFS `rm -r' fails to delete a directory containing more than 168 files

bugme-daemon at osdl.org bugme-daemon at osdl.org
Sun May 16 05:44:17 PDT 2004


http://bugme.osdl.org/show_bug.cgi?id=2717

           Summary: on JFS `rm -r' fails to delete a directory containing
                    more than 168 files
    Kernel Version: 2.6.6
            Status: NEW
          Severity: normal
             Owner: shaggy at austin.ibm.com
         Submitter: relf at rambler.ru


I'm using Debian/unstable with custom kernel.org build 2.6.6 and libc6         
              2.3.2.ds1-12

The problem is that on JFS partition `rm -r' fails to delete a directory
containing more than 168 files.

The illustrating script:

=====
#!/bin/sh

mkdir test_dir
for i in `seq 1 169`;
do
   echo "" >test_dir/$i
done
rm -r test_dir
=====

It produces the error
rm: cannot remove directory `test_dir': Directory not empty
leaving one file in the directory `test_dir'. 
Subsequent run `rm -r test_dir' removes the directory as expected.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Bugme-new mailing list