All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: tmpfs (documentation?) bug
Date: Wed, 2 Nov 2005 16:57:26 -0600	[thread overview]
Message-ID: <200511021657.26627.rob@landley.net> (raw)
In-Reply-To: <436847DD.5050504@ums.usu.ru>

On Tuesday 01 November 2005 23:00, Alexander E. Patrakov wrote:
> 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.

I like this behavior.  Please keep this behavior.  A dynamic /dev on tmpfs 
should _only_ have dentries (device nodes and symlinks), no actual files.  
I have a system that's currently using this to enforce that...

Rob

      parent reply	other threads:[~2005-11-03  1:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02  5:00 tmpfs (documentation?) bug Alexander E. Patrakov
2005-11-02  5:02 ` 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 [this message]

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=200511021657.26627.rob@landley.net \
    --to=rob@landley.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patrakov@ums.usu.ru \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.