lkml.org 
[lkml]   [2008]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is there a memory block device?
On Tue, 26 Feb 2008, rzryyvzy wrote:

> I know that tmpfs is a memmory filesystem. Is there a possibility to
> create also a memory block device?
> Is there a possibility to create for example a 1 GB memory block device
> (from the RAM)?

There are the /dev/ram* devices, created through kernel config
CONFIG_BLK_DEV_RAM (RAM disk support), kernel module rd.ko

But I'm not sure how to configure their size besides setting the kernel
config option, it's a long time ago that I used them last.

c'ya
sven

--

The Internet treats censorship as a routing problem, and routes around
it. (John Gilmore on http://www.cygnus.com/~gnu/)


\
 
 \ /
  Last update: 2008-02-26 21:07    [W:0.042 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site