Bug#390184: [Pkg-sysvinit-devel] Bug#390184: initscripts: please limit the size of /lib/init/rw

2006-11-26 Thread Roger Leigh
On Fri, Sep 29, 2006 at 07:39:26PM +0200, Petter Reinholdtsen wrote: [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

Bug#390184: [Pkg-sysvinit-devel] Bug#390184: initscripts: please limit the size of /lib/init/rw

2006-09-29 Thread Petter Reinholdtsen
[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

Bug#390184: [Pkg-sysvinit-devel] Bug#390184: initscripts: please limit the size of /lib/init/rw

2006-09-29 Thread Mario 'BitKoenig' Holbe
On Fri, Sep 29, 2006 at 07:39:26PM +0200, Petter Reinholdtsen wrote: 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 Ha! I did think about something similar, too! :) In fact, I did think about making

Bug#390184: [Pkg-sysvinit-devel] Bug#390184: initscripts: please limit the size of /lib/init/rw

2006-09-29 Thread Mario 'BitKoenig' Holbe
On Fri, Sep 29, 2006 at 07:39:26PM +0200, Petter Reinholdtsen wrote: 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 Oh, I forgot... If you do so, please remind that bind-mounts inherit mount-options