(This should be reproducable simply with CONFIG_USB=y in your kernel)
With a 2.6.10 kernel, and set -x added to /etc/rcS.d/S02mountvirtfs I
see:
+ domount proc '' /proc
+ '[' '!' -d /proc ']'
+ TYPE=
+ '[' proc = proc ']'
+ TYPE=proc
+ '[' proc = '' ']'
+ OPTS=
+ '[' -f /etc/fstab ']'
+ exec
+ read FDEV FDIR FTYPE FOPTS REST
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ '[' /proc '!=' / ']'
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ '[' /proc '!=' /proc ']'
+ '[' proc '!=' proc ']'
+ OPTS=-odefaults
+ break
+ exec
+ mountpoint -q /proc
+ mount -n -t proc -odefaults proc /proc
...
+ '[' -d /proc/bus/usb ']'
+ domount usbfs usbdevfs /proc/bus/usb
+ '[' '!' -d /proc/bus/usb ']'
+ TYPE=
+ '[' usbfs = proc ']'
+ grep -E -qs 'usbfs$' /proc/filesystems
+ TYPE=usbfs
+ '[' usbfs = '' ']'
+ OPTS=
+ '[' -f /etc/fstab ']'
+ exec
+ read FDEV FDIR FTYPE FOPTS REST
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ '[' /proc/bus/usb '!=' / ']'
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ '[' /proc/bus/usb '!=' /proc ']'
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ '[' /proc/bus/usb '!=' /sys ']'
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ '[' /proc/bus/usb '!=' /dev/pts ']'
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ '[' /proc/bus/usb '!=' /dev/shm ']'
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ continue
+ read FDEV FDIR FTYPE FOPTS REST
+ exec
+ mountpoint -q /proc/bus/usb
+ mount -n -t usbfs usbfs /proc/bus/usb
mount: proc already mounted

Versions of packages initscripts depends on:
ii  coreutils                   5.2.1-2      The GNU core utilities
ii  dpkg                        1.10.23      Package maintenance system for Deb
ii  e2fsprogs                   1.35-6       The EXT2 file system utilities and
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  mount                       2.12-10      Tools for mounting and manipulatin
ii  util-linux                  2.12-10      Miscellaneous system utilities


-- 
Tom Rini
http://gate.crashing.org/~trini/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to