Magellan Linux

Diff of /tags/udev-166-r2/udev.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

tags/udev-166-r1/udev.rc revision 1290 by niro, Mon Feb 28 20:11:39 2011 UTC tags/udev-166-r2/udev.rc revision 1726 by niro, Tue Apr 3 13:54:48 2012 UTC
# Line 96  start_devicemanager() Line 96  start_devicemanager()
96   [ -c /dev/console ] ; need_redirect=$?   [ -c /dev/console ] ; need_redirect=$?
97    
98   # create a ramdisk for populating udev   # create a ramdisk for populating udev
99   rc_print "Mounting udev at /dev ..."   if [[ -z $(grep '[[:space:]]/dev[[:space:]]' /proc/mounts | cut -d ' ' -f2) ]]
100   # many video drivers needed exec access   then
101   fstype=ramfs   rc_print "Mounting udev at /dev ..."
102   # tmpfs was suggested by Greg Kroah-Hartman   # many video drivers needed exec access
103   kernel_supports_fs tmpfs && fstype=tmpfs   fstype=ramfs
104   # mount devtmpfs if supported   # tmpfs was suggested by Greg Kroah-Hartman
105   kernel_supports_fs devtmpfs && fstype=devtmpfs   kernel_supports_fs tmpfs && fstype=tmpfs
106   mount -n -t ${fstype} udev /dev -o exec,nosuid,mode=0755,size=10M   # mount devtmpfs if supported
107   evaluate_retval   kernel_supports_fs devtmpfs && fstype=devtmpfs
108     mount -n -t ${fstype} dev /dev -o exec,nosuid,mode=0755,size=10M
109     evaluate_retval
110     fi
111    
112   # if a device tarball exists load it and if it is activated   # if a device tarball exists load it and if it is activated
113   rc_print "Configurating system to use udev ..."   rc_print "Configurating system to use udev ..."
# Line 115  start_devicemanager() Line 118  start_devicemanager()
118   evaluate_retval   evaluate_retval
119   fi   fi
120    
121   # other eeded device nodes with udev   # other needed device nodes with udev
122   seed_dev   seed_dev
123    
124   if [ -e /proc/sys/kernel/hotplug ]   if [ -e /proc/sys/kernel/hotplug ]

Legend:
Removed from v.1290  
changed lines
  Added in v.1726