On Fri, 15 Apr 2011 17:01:21 -0500
Bruce Dubbs <bruce.du...@gmail.com> wrote:

> Following some of the discussion lately on file placement, we may want 
> to consider doing the following:
> 
> 1. In 6.5. Creating Directories
>    a. Create /run
> 
> 2. Mount a tmpfs in /etc/init.d/mountkernfs on /run.  This also requires 
> a change to /etc/init.d/mountfs.
> 
> The purpose of this is to move a lot of things (.udev, etc) out of /dev 
> and eventually will end up holding files presently on /var/run and 
> /var/lock.
> 
> Thoughts?

How large should the tmpfs mounted on /run (or /var/run) be? If it's
not specified in /etc/fstab (or on the command line of the mount
command) then the default is to allocate half of RAM to the tmpfs,
which seems a little excessive. At the moment on this system /var/run
contains about 24Kb of files and /dev 128 Kb. Would a tmpfs of a
megabyte be enough for now?

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to