public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Craig Taylor <ctalkobt@bellsouth.net>
To: Haakon Riiser <haakon.riiser@fys.uio.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NTFS disk usage on Linux 2.6
Date: Thu, 15 Jan 2004 09:51:48 -0500	[thread overview]
Message-ID: <4006A904.3000307@bellsouth.net> (raw)
In-Reply-To: <20040115010210.GA570@s.chello.no>

Do a "properties" within Windows on the folder - windows will report the 
_actual_ size of the file in it's listings, not the amount of space it 
takes up. I presume that that's what is going on.

Haakon Riiser wrote:

>Has anyone else noticed that the reported disk space usage on
>NTFS is completely unreliable on Linux 2.6?  Just issued the
>command "du -sh" on my main Windows XP partition, and on 2.6.1,
>the reported disk usage is bigger than the partition size.
>
>Here's the output from "du -sh *" in Windows' root directory
>under Linux 2.6.1:
>
>  0       AUTOEXEC.BAT
>  0       CONFIG.SYS
>  43M     Documents and Settings
>  0       IO.SYS
>  0       MSDOS.SYS
>  48K     NTDETECT.COM
>  366M    Program Files
>  0       RECYCLER
>  20K     System Volume Information
>  12G     WINDOWS
>  0       boot.ini
>  232K    ntldr
>  768M    pagefile.sys
>
>Same command on 2.4.24:
>
>  0       AUTOEXEC.BAT
>  0       CONFIG.SYS
>  41M     Documents and Settings
>  0       IO.SYS
>  0       MSDOS.SYS
>  48K     NTDETECT.COM
>  366M    Program Files
>  2.0K    RECYCLER
>  21K     System Volume Information
>  1.4G    WINDOWS
>  1.0K    boot.ini
>  230K    ntldr
>  770M    pagefile.sys
>
>(The contents of the filesystem was, of course, identical in both
>cases -- I did not run Windows in between these tests.)
>
>Compare the disk space used by the WINDOWS directory in the
>two listings.  On 2.4.24, it correctly reports 1.4G, while
>2.6.1 reports 12G, which is 2G more than the total space on
>the filesystem.
>
>I also compared this to the listings produced by "ls -lR"
>(summing the numbers on the "total ..." lines).  The result
>was the same as with du -sh.
>
>  
>


  reply	other threads:[~2004-01-15 15:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-15  1:02 NTFS disk usage on Linux 2.6 Haakon Riiser
2004-01-15 14:51 ` Craig Taylor [this message]
2004-01-15 16:03   ` Disconnect
2004-01-15 19:05 ` David Sanders
2004-01-15 22:34   ` Wes Janzen
2004-01-16  0:43     ` Adam Sampson
2004-01-18  0:55   ` Haakon Riiser
2004-01-19 14:24     ` Anton Altaparmakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4006A904.3000307@bellsouth.net \
    --to=ctalkobt@bellsouth.net \
    --cc=haakon.riiser@fys.uio.no \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox