Commit 5698192bd7361dd0afae05f1706eb36220d363d6

Authored by Silvan Calarco
1 parent c83d5a475c
Exists in master

mountfs: mount usbfs according to fstab configuration

Showing 1 changed file with 2 additions and 4 deletions Side-by-side Diff

etc/rc.d/init.d/mountfs
... ... @@ -30,8 +30,6 @@
30 30 grep -v "^/dev/root.old" >/etc/mtab
31 31 rm -f /etc/mtab~ /etc/mtab~~
32 32  
33   - [ ! -f /proc/bus/usb/devices ] && mount -t usbfs usbfs /proc/bus/usb
34   -
35 33 $PLYMOUTH --sysinit
36 34  
37 35 # The follow mount command will mount all file systems. If you
... ... @@ -40,7 +38,7 @@
40 38 # below. All file systems that are added to the variable in the
41 39 # form of no<filesystem> will be skipped.
42 40  
43   - NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nousbfs,nodevfs"
  41 + NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nodevfs"
44 42  
45 43 echo -n "Mounting remaining file systems: "
46 44 mount -a -t $NO_FS
... ... @@ -55,7 +53,7 @@
55 53 # [ -f /proc/bus/usb/devices ] && umount /proc/bus/usb >/dev/null 2>&1
56 54 # umount -l /proc
57 55 # umount -l /sys
58   - NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nousbfs,nodevfs"
  56 + NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nodevfs"
59 57 sync
60 58 umount -a -f -r -t $NO_FS >/dev/null 2>&1
61 59 evaluate_retval