[leaf-commits] src/bering-uclibc4/source/initrd root.linuxrc, 1.5, 1.6

Andrew <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/initrd
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv32383/initrd

Modified Files:
	root.linuxrc 
Log Message:
Added mdev support


Index: root.linuxrc
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/initrd/root.linuxrc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** root.linuxrc	12 Jun 2010 18:14:26 -0000	1.5
--- root.linuxrc	18 Jun 2010 13:48:23 -0000	1.6
***************
*** 51,54 ****
--- 51,55 ----
  $BB mkdir /sys 
  $BB mount -nt sysfs sysfs /sys
+ 
  /bin/busybox --install -s
  
***************
*** 61,64 ****
--- 62,70 ----
  depmod
  
+ #---------mdev------------
+ echo /sbin/mdev > /proc/sys/kernel/hotplug
+ mdev -s
+ lsmod
+ 
  if [ -r $BPFX/etc/modules ] ; then
  	# Loop over every line in modules
***************
*** 111,116 ****
  EOF
  
! [ "$VERBOSE" ] && Lecho "Generating block devices..."
! source $PFX/root.blk.mk
  
  # Try to mount configuration device and read any leaf.cfg file
--- 117,123 ----
  EOF
  
! #---------mdev------------
! #[ "$VERBOSE" ] && Lecho "Generating block devices..."
! #source $PFX/root.blk.mk
  
  # Try to mount configuration device and read any leaf.cfg file
***************
*** 177,182 ****
  qt mount -t tmpfs tmpfs /var/log -o size=$log_size
  
! [ "$VERBOSE" ] && Lecho "Populating /dev..."
! source $PFX/root.dev.mk
  
  #Set some permissions
--- 184,190 ----
  qt mount -t tmpfs tmpfs /var/log -o size=$log_size
  
! #---------mdev------------
! #[ "$VERBOSE" ] && Lecho "Populating /dev..."
! #source $PFX/root.dev.mk
  
  #Set some permissions


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.