Re: Is there a memory block device?

From: Sven-Haegar Koch
Date: Tue Feb 26 2008 - 15:04:34 EST


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/)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/