cvs commit: LFS/bootscripts/lfs/init.d udev

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Mon Jun 21 16:53:02 PDT 2004


winkie      04/06/21 17:53:02

  Modified:    bootscripts CHANGELOG
               bootscripts/lfs/init.d udev
  Log:
  Converted the udev bootscript to use udevsend/udevd
  
  Revision  Changes    Path
  1.107     +1 -1      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- CHANGELOG	21 Jun 2004 15:34:07 -0000	1.106
  +++ CHANGELOG	21 Jun 2004 23:53:02 -0000	1.107
  @@ -1,6 +1,6 @@
   n/a - June 21, 2004
   
  -	* Added a FIXME in the udev initscript
  +	* Converted the udev script to use udevsend/udevd
   
   n/a - June 21, 2004
   
  
  
  
  1.10      +4 -2      LFS/bootscripts/lfs/init.d/udev
  
  Index: udev
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/lfs/init.d/udev,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- udev	21 Jun 2004 15:34:07 -0000	1.9
  +++ udev	21 Jun 2004 23:53:02 -0000	1.10
  @@ -35,10 +35,12 @@
   		# want /dev to be unavailable (such as by `umount -a').
   		mount -n -t ramfs ramfs /dev
   
  +		# Start the Udev daemon
  +		udevd &
  +
   		# Assign udev to get hotplug events.  This will be overwritten
   		# in the hotplug bootscript.
  -		# FIXME: do we need to reorder the events using udevsend here?
  -		echo /sbin/udev > /proc/sys/kernel/hotplug
  +		echo /sbin/udevsend > /proc/sys/kernel/hotplug
   
   		# Populate /dev with all the devices that are already available,
   		# and save it's status so we can report failures.
  
  
  



More information about the lfs-book mailing list