cvs commit: LFS/bootscripts/lfs/init.d mountfs mountkernfs

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Tue May 11 21:27:15 PDT 2004


nathan      04/05/11 22:27:15

  Modified:    bootscripts CHANGELOG Makefile
               bootscripts/lfs/init.d mountfs mountkernfs
  Log:
  Added usbfs to mountfs, and mountkernfs
  
  Revision  Changes    Path
  1.74      +4 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- CHANGELOG	6 May 2004 16:11:32 -0000	1.73
  +++ CHANGELOG	12 May 2004 04:27:14 -0000	1.74
  @@ -1,3 +1,7 @@
  +n/a - May 11, 2004
  +
  +	* Added usbfs to mountkernfs and mountfs
  +
   n/a - May 6, 2004
   
   	* Don't use loadproc in localnet, it's not meant for that
  
  
  
  1.36      +1 -1      LFS/bootscripts/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/Makefile,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- Makefile	4 May 2004 22:15:03 -0000	1.35
  +++ Makefile	12 May 2004 04:27:14 -0000	1.36
  @@ -368,7 +368,7 @@
   	install -m 644 contrib/sysconfig/modules ${EXTDIR}/rc.d/sysconfig
   	ln -sf  ../init.d/modules ${EXTDIR}/rc.d/rcsysinit.d/S15modules
   
  -.PHONY: install \
  +.PHONY: all create-dirs create-service-dir install \
   	install-service-dhclient install-service-dhcpcd install-service-ipx install-service-pppoe \
   	install-alsa install-apache install-bind install-cups install-dhcp install-exim install-fcron install-gdm install-gpm install-heimdal install-lprng install-mysql install-netfs install-nfs-client install-nfs-server install-ntp install-portmap install-postfix install-postgresql install-proftpd install-random install-rsync install-samba install-sendmail install-sshd install-xinetd \
   	install-modules
  
  
  
  1.6       +3 -0      LFS/bootscripts/lfs/init.d/mountfs
  
  Index: mountfs
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/mountfs,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mountfs	24 Apr 2004 21:11:32 -0000	1.5
  +++ mountfs	12 May 2004 04:27:14 -0000	1.6
  @@ -20,6 +20,9 @@
   		if grep -q '[[:space:]]sysfs' /proc/mounts ; then
   			mount -f /sys || failed=1
   		fi
  +		if grep -q '[[:space:]]usbfs' /proc/mounts ; then
  +			mount -f /proc/bus/usb || failed=1
  +		fi
   		(exit $failed)
   		evaluate_retval
   		# add /dev above if you use devfs
  
  
  
  1.4       +6 -0      LFS/bootscripts/lfs/init.d/mountkernfs
  
  Index: mountkernfs
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/mountkernfs,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- mountkernfs	24 Apr 2004 21:11:32 -0000	1.3
  +++ mountkernfs	12 May 2004 04:27:14 -0000	1.4
  @@ -22,6 +22,12 @@
   				evaluate_retval
   			fi
   		fi
  +
  +		if grep -q '[[:space:]]usbfs' /proc/filesystems; then
  +			echo "Mounting USB filesystem"
  +			mount -n /proc/bus/usb
  +			evaluate_retval
  +		fi
   		;;
   	*)
   		echo "Usage $0 {start}"
  
  
  



More information about the lfs-book mailing list