public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* tmpfs (documentation?) bug
@ 2005-11-02  5:00 Alexander E. Patrakov
  2005-11-02  5:02 ` Alexander E. Patrakov
  2005-11-02 22:57 ` Rob Landley
  0 siblings, 2 replies; 6+ messages in thread
From: Alexander E. Patrakov @ 2005-11-02  5:00 UTC (permalink / raw)
  To: LKML

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-03 18:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox