[Mario Holbe] > I personally think that something around 100k should suffice, but if > you like to have it somehow dynamic, I attached a small sample patch > which limits the size to one tenth of available memory.
Thank you for the patch. If we want dosemu and user-mode-linux to stop using /dev/shm/ to store their mmaped files, and instead use /lib/init/rw/ or similar, the size will have to be a lot higher than 100k. One idea I am considering is to make /dev/shm/ a symlink or bind-mount to a subdirectory /lib/init/rw/shm/, and thus only have one tmpfs file system by default. I also consider modifying the RANLOCK and RANRUN code to behave similarly, either symlink or bind-mount to /lib/init/rw/. > I moved the section which mounts /lib/init/rw down a bit to access > /proc/meminfo. I decided to mount it before /proc/, because we plan to modify mount to use a file in /lib/init/rw/ instead of /etc/mtab to get rid of a lot of complexity handling /etc/mtab. I'm not sure if we want to move it after /proc/ because of this. Friendly, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]