2.2.14 NTFS file size (df) bug

From: Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Date: Sat Apr 22 2000 - 11:02:12 EST


using 2.2.14 kernel `df' shows wrong file/directory sizes,
the `total' in `ls -l' output is wrong too:

        # ls -l temp/
        total 32
        dr-x------ 1 root root 0 Apr 26 1997 IXP000.TMP/
        -r-------- 1 root root 7380 Jun 27 1997 ftp2
        -r-------- 1 root root 484409 Aug 2 1997 jar_cache53999.tmp
        -r-------- 1 root root 594503 Aug 2 1997 jar_cache54000.tmp
        -r-------- 1 root root 7399936 Aug 2 1997 jre1_2_2-win-i.exe
        -r-------- 1 root root 3321112 Apr 26 1997 mpfull.exe
        -r-------- 1 root root 1536 Aug 29 1997 ~DFA8E6.tmp
        -r-------- 1 root root 0 Aug 29 1997 ~DFA8FA.tmp

        # du temp/
        4 temp/IXP000.TMP
        48 temp

        # du temp/jre1_2_2-win-i.exe
        4 temp/jre1_2_2-win-i.exe

        # df -T .
        Filesystem Type 1k-blocks Used Available Use% Mounted on
        /dev/hda1 ntfs 1534679 1504610 30069 98% /c

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

- 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/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:21 EST