From 81fd230419b0cfd052b08fc1ed352bb7d49975df Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 19 Feb 2005 22:16:42 +0000 Subject: Trunk is now identical to Testing git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/kernfs.xml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'chapter06/kernfs.xml') diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml index a82a03b96..0f925c979 100644 --- a/chapter06/kernfs.xml +++ b/chapter06/kernfs.xml @@ -1,10 +1,17 @@ - + + %general-entities; +]> Mounting Virtual Kernel File Systems -Create the dirs: +Various file systems exported by the kernel do not exist on the +hard drive, but are used to communicate to and from the kernel +itself. + +Begin by creating directories onto which the file systems will be mounted: mkdir -p $LFS/{proc,sys} @@ -13,10 +20,18 @@ mount -t proc proc $LFS/proc mount -t sysfs sysfs $LFS/sys -Do some fake mounts: +Remember that if for any reason you stop working on the LFS +system and start again later, it is important to check that these file +systems are mounted again before entering the chroot +environment. + +Additional file systems will soon be mounted from within the +chroot environment. To keep the host up to date, perform a fake +mount for each of these now: mount -f -t ramfs ramfs $LFS/dev mount -f -t tmpfs tmpfs $LFS/dev/shm mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts + -- cgit v1.2.3-54-g00ecf