From: Amos Waterland <apw@us.ibm.com>
To: linux-fsdevel@vger.kernel.org
Subject: Zero free bytes incorrectly reported by initramfs
Date: Sun, 25 Nov 2007 22:41:36 -0500 [thread overview]
Message-ID: <20071126034136.GA13266@us.ibm.com> (raw)
Hi. The initramfs filesystem reports zero bytes free when queried with
the statfs system call, even when there are 8 GB or more free memory.
This is a problem for me because I am building software appliances that
run entirely out of an initramfs. I need to allow the user to install
a package with apt-get (of course, the install will not be persistent
across reboots). The apt-get source checks the f_bfree field in the
statfs struct and bails out when it sees a zero.
I have submitted a patch[1] against apt-get to just blindly plow ahead if
the filesystem type is RAMFS, but I would prefer to get some input from
this list regarding the best way to proceed. Why does initramfs report
zero bytes free?
--
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448316
reply other threads:[~2007-11-26 3:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20071126034136.GA13266@us.ibm.com \
--to=apw@us.ibm.com \
--cc=linux-fsdevel@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;
as well as URLs for NNTP newsgroup(s).