[lkml]   [2001]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: ramdisk/tmpfs/ramfs/memfs ?
    On Thu, Apr 26, 2001 at 01:49:05PM -0700, H. Peter Anvin wrote:
    > > > 5. Can you set size limits on ramfs/tmpfs/memfs?

    Yes, there is a patch for this.

    > > 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=
    > parameters.

    The patched variant gives to all of it. Even several kinds of
    limits (inodes, dentries, ram pages).

    I use this patch in production.

    The ac-Kernels all have this patch included, which are sometimes
    more stable anyway these day. ;-)



    Ingo Oeser
    10.+11.03.2001 - 3. Chemnitzer LinuxTag <>
    <<<<<<<<<<<< been there and had much fun >>>>>>>>>>>>
    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

     \ /
      Last update: 2005-03-22 12:52    [W:0.021 / U:11.888 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site