Re: [iPAQ] Purpose of /mnt/ramfs ????

From: Paulo Marques <pmarques_at_restinfor.pt>
Date: Wed, 15 Jan 2003 14:56:43 +0000

wim delvaux wrote:

> Ah I see,
>
> Interesting !
>
> However i was wondering ... what happens when you 'reboot' the device which
> makes the ramfs reinitialize ? Couldn't the ramfs just continue with the
> state it is in (i.e. just recover the RAM as if you suspended ?)
>
> W

As far as i know ramfs "shares" its memory. It only uses memory when you
copy files to it. So the pages it is actually using at any point in time

are known by the linux memory menagement code. A reboot will certanly

destroy this kind of state information.

With nvrd, the memory area is "reserved" on the top of the memory space,
in a way that the rest of the kernel doesn't use it at all. So the state
of this memory is preserved across reboots.

-- 
Paulo Marques
Software Development Department - Restinfor, Lda.
Phone: +351 252 290600, Fax: +351 252 290601
Web: www.grupopie.com
"In a world without walls and fences who needs windows and gates?"
Received on Wed Jan 15 2003 - 14:57:45 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 18:33:21 EDT