lkml.org 
[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Idea about a disc backed ram filesystem
From

Matheus Izvekov said:
> On 6/8/06, Måns Rullgård <mru@inprovide.com> wrote:
>> "Matheus Izvekov" <mizvekov@gmail.com> writes:
>>
>> > 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.
>>
>> I don't see what advantage this would have over normal tmpfs.
>
> The difference is that the swap device is exclusive for the tmpfs mount.

Yes, and what would the advantage of that be? Sounds to me you'd only end
up wasting swap space.

--
Måns Rullgård
mru@inprovide.com
-
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 13:36    [W:0.049 / U:2.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site