Is there a memory block device?
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)?
Signature · 2 lines
E-Mail sent with anti-spam site TrashMail.net! Free disposable email addresses: http://www.trashmail.net/
Quoted 2 lines · rzryyvzy
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)?
A better question would be:
What problem are you trying to solve by ysing a "memory block device"? There may well be other approaches that would work better, but it's hard to say. Are you trying to avoid the buffer cache pool? Ensure pages are in physical memory? Or some other problem?
Quoted 4 lines · rzryyvzy
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
Signature · 2 lines
The Internet treats censorship as a routing problem, and routes around it. (John Gilmore on http://www.cygnus.com/~gnu/)