Re: ramdisk/tmpfs/ramfs/memfs ?

From: H. Peter Anvin (
Date: Thu Apr 26 2001 - 15:49:05 EST

Followup to: <>
By author: Bjorn Wesen <>
In newsgroup:
> > 5. Can you set size limits on ramfs/tmpfs/memfs?
> i don't think you can set a limit in the current ramfs implementation but
> it would not be particularly difficult to make it work I think

It's a little more painful than you'd think for the simple reason that
ramfs currently contains no space accounting whatsoever, which
probably is a bad thing. It definitely gave me some serious pause
when I was working on SuperRescue 1.3, since I had no way of
reasonably judging how big my ramfs actually was. The only way I
could get a reasonable idea was rebooting with various mem=


<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:16 EST