mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephan van Hienen <kernel@a2000.nu>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: nfs and LBD support (2TB+)
Date: Thu, 2 Dec 2004 18:51:01 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.61.0412021850120.16787@adsl.a2000.nu> (raw)
In-Reply-To: <1101945033.32266.33.camel@lade.trondhjem.org>

On Wed, 1 Dec 2004, Trond Myklebust wrote:

> Yep... There is a slight problem with the way glibc has decided to
> implement the statvfs function when interacting with 2.6.x kernels...
>

<..>

> This was not a problem in Linux-2.4.x, 'cos glibc would simply emulate a
> value for f_frsize by setting it to f_bsize.
> However for 2.6.x kernels, glibc grabs a value of f_frsize that the
> kernel gives it. So if that value differs from the bsize (and allowing
> f_frsize != f_bsize is the whole point of passing a value for f_frsize
> to glibc in the first place), you get wierd discrepancies like the
> above.

and is there a fix ?
(it looks like it's working ok, but still i would like to see the actual 
free space/usage)

  reply	other threads:[~2004-12-02 17:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 23:20 Stephan van Hienen
2004-12-01 23:50 ` Trond Myklebust
2004-12-02 17:51   ` Stephan van Hienen [this message]
2004-12-02 18:08     ` Trond Myklebust
     [not found] ` <20041201234619.GO22547@schnapps.adilger.int>
2004-12-02 17:49   ` Stephan van Hienen

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=Pine.LNX.4.61.0412021850120.16787@adsl.a2000.nu \
    --to=kernel@a2000.nu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    /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

all inboxes | Powered by JetHome®