From 72b0264b85cbe2e8841e0386f8f698e414afcbf3 Mon Sep 17 00:00:00 2001 From: "Alexander E. Patrakov" Date: Thu, 20 May 2004 01:47:22 +0000 Subject: Added hotplug to HEAD git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3671 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/fstab.xml | 5 +++-- chapter08/kernel.xml | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'chapter08') diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index 6c8738cc8..3c76ff2fa 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -25,7 +25,7 @@ proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 devpts /dev/pts devpts gid=4,mode=620 0 0 shm /dev/shm tmpfs defaults 0 0 - +usbfs /proc/bus/usb usbfs devgid=15,devmode=0660 0 0 # End /etc/fstab EOF @@ -33,7 +33,8 @@ shm /dev/shm tmpfs defaults 0 0 and fff with the values appropriate for your system -- for example hda2, hda5 and reiserfs. For all the details on the six fields in this -table, see man 5 fstab. +table, see man 5 fstab. Omit the usbfs line if you didn't +compile "USB device filesystem" into the kernel. When using a reiserfs partition, the 1 1 at the end of the line should be replaced with 0 0, as such a diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index f7ba78e97..6013089e5 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -63,6 +63,10 @@ scratch. Virtual memory file system support is enabled. It resides within the File systems menu and is normally enabled by default. +LFS bootscripts make the assumption that you either compile +"USB device filesystem" directly into the kernel, or don't compile it at +all. They will not work properly if it is a module (usbcore.ko). + NPTL requires the kernel to be compiled with GCC 3.x, in this case &gcc-version;. Compiling with 2.95.x is known to cause failures in the glibc testsuite, so do not compile the kernel with gcc 2.95.x -- cgit v1.2.3-54-g00ecf