lkml.org 
[lkml]   [2006]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Idea about a disc backed ram filesystem
    Date
    From
    Matheus Izvekov <mizvekov@gmail.com> wrote:

    [...]

    > I had a somewhat similar idea, once i have time to implement it ill
    > submit a patch.
    > My idea consisted of adding the capability to specify a device for
    > tmpfs mounting. if you dont specify any device, tmpfs continues to
    > behave the way it currently is. But if you do, once data doesnt fit on
    > ram (or some other limit) anymore, it will flush things to this
    > device. my intention was to reuse swap code for this, so you mount a
    > tmpfs passing the dev node of some unused swap device, and it works
    > just like tmpfs with a dedicated swap partition.

    tmpfs does use swap currently. Giving tmpfs a dedicated swap space is dumb,
    as it takes away the possibility of using that space for swapping when not
    in use by tmpfs (and viceversa).
    --
    Dr. Horst H. von Brand User #22616 counter.li.org
    Departamento de Informatica Fono: +56 32 654431
    Universidad Tecnica Federico Santa Maria +56 32 654239
    Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-06-09 04:20    [W:0.020 / U:1.672 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site