public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Horms <horms@debian.org>
Cc: Carlos Rodrigues <carlos.efr@mail.telepac.pt>,
	308072@bugs.debian.org, linux-kernel@vger.kernel.org
Subject: Re: statfs returns wrong values for 250Gb FAT fs
Date: Tue, 10 May 2005 21:00:51 +0900	[thread overview]
Message-ID: <87oebjxpcc.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <20050510080907.GR1998@verge.net.au> (horms@debian.org's message of "Tue, 10 May 2005 17:09:07 +0900")

Hi,

Horms <horms@debian.org> writes:

>>     printf("f_bsize = %ld blocks\nf_blocks = %ld blocks\nf_bfree = %ld blocks\nused = %ld blocks\n",
>>            stats.f_bsize, stats.f_blocks, stats.f_bfree, used);
>> 
>>     kib = stats.f_bsize / 1024;
>>     printf("total = %ld KiB\nfree = %ld KiB\nused = %ld KiB\n",
>>            kib * stats.f_blocks,
>>            kib * stats.f_bfree,
>>            kib * used);

Filesystem may have the corrupted free-cluster value.

I couldn't reproduce the problem on 2.6.12-rc4.

Could you try a recently dosfsck (dosfstools-2.11 or later)?
Also could you send the output of above program?

Thanks.
-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

  reply	other threads:[~2005-05-10 12:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1DUT2T-0000fm-Nx@localhost.localdomain>
2005-05-10  8:09 ` statfs returns wrong values for 250Gb FAT fs Horms
2005-05-10 12:00   ` OGAWA Hirofumi [this message]
2005-05-10 20:34     ` Carlos Rodrigues
2005-05-11 12:23       ` Paul Ionescu
2005-05-12 20:32         ` OGAWA Hirofumi

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=87oebjxpcc.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=308072@bugs.debian.org \
    --cc=carlos.efr@mail.telepac.pt \
    --cc=horms@debian.org \
    --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