On Fri, Apr 15, 2011 at 05:01:21PM -0500, Bruce Dubbs 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.
Maybe also rename mountkernfs to mountvirtualfs or something? Maybe not exactly required, but /run is definitely not a kernel fs. OTOH /dev is also a tmpfs, and it's set up in the udev script. I don't think anything in current LFS needs /run before udev -- though I don't know that for sure -- so it *might* work to do it there instead. But I don't think that's actually a good idea, since who knows what will need it later; mountkernfs (being first) is probably better. > 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? Sounds good to me. Thinking about this change recently, it's a lot less scary than I thought originally, when looking at the various hotplug threads and whatnot. So sure.
pgpK72mVrTpaS.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page