On Wed, 11 Apr 2001, Justin Mason wrote:
> But then you have to hope the OS doesn't have any wierd ramdisk bugs,
> which may not be the case for odd mmap()-type cases esp. with 2.4.x,
> AFAICS from reading Kernel Traffic...
bugs or 'not supported with this device' not withstanding of course..
however, /IIRC/, if a blockdevice works then almost certainly mmap
should work on it.
> The mmap() case is most likely optimised for real disks, not ramdisks, and
> ramdisks ('cos they chew up real RAM) can have bad effects on caching.
the traditional ramdisk doesn't share memory with the kernel. ie the
memory is reserved and not used by the kernel.
ramfs is different and might have odd problems (no idea about mmap()
but there's weirdities that come up every now and then on l-k), but it
isn't a blockdevice...
> BTW those Ratpoison people scare me, with their "rat" hatred. eek.
hmm... must check out that link.
> --j.
>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!