public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: LKML <linux-kernel@vger.kernel.org>
Subject: tmpfs (documentation?) bug
Date: Wed, 02 Nov 2005 10:00:13 +0500	[thread overview]
Message-ID: <436847DD.5050504@ums.usu.ru> (raw)

Hello,

Documentation/filesystems/tmpfs.c currently says:

If nr_blocks=0 (or size=0), blocks will not be limited in that instance;
if nr_inodes=0, inodes will not be limited.

However, mounting a tmpfs with "mount -t tmpfs -o size=0 tmpfs 
/root/tmpfs" results in a tmpfs where only zero-sized files can live. So 
either this behaviour should be fixed to be in accordance with the 
documentation, or the documentation should reflect the current behaviour.

-- 
Alexander E. Patrakov

             reply	other threads:[~2005-11-02  5:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02  5:00 Alexander E. Patrakov [this message]
2005-11-02  5:02 ` tmpfs (documentation?) bug Alexander E. Patrakov
2005-11-02 22:58   ` Rob Landley
2005-11-03 14:41     ` Hugh Dickins
2005-11-03 18:36       ` Rob Landley
2005-11-02 22:57 ` Rob Landley

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=436847DD.5050504@ums.usu.ru \
    --to=patrakov@ums.usu.ru \
    --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