]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-svn.patch
- rel 3; support /etc/mtab being symlink to /proc/self/mounts
[packages/rc-scripts.git] / rc-scripts-svn.patch
1 Index: rc.d/rc.sysinit
2 ===================================================================
3 --- rc.d/rc.sysinit     (wersja 12419)
4 +++ rc.d/rc.sysinit     (kopia robocza)
5 @@ -465,25 +465,25 @@
6         [ -f /etc/cryptomtab ] && :>/etc/cryptomtab
7  
8         # Enter root, /proc, /sys and other into mtab.
9 -       mount -f /
10 -       mount -f /proc
11 +       mount -f / 2> /dev/null
12 +       mount -f /proc 2> /dev/null
13         if is_fsmounted tmpfs /run; then
14 -               mount -f -t tmpfs run /run
15 +               mount -f -t tmpfs run /run 2> /dev/null
16         fi
17  
18         if is_fsmounted usbfs /proc/bus/usb; then
19 -               mount -f -t usbfs -o devgid=78,devmode=664 usbfs /proc/bus/usb
20 +               mount -f -t usbfs -o devgid=78,devmode=664 usbfs /proc/bus/usb 2> /dev/null
21         fi
22  
23         if is_fsmounted sysfs /sys; then
24 -               mount -f -t sysfs sysfs /sys
25 +               mount -f -t sysfs sysfs /sys 2> /dev/null
26                 if is_fsmounted securityfs /sys/kernel/security ; then
27 -                       mount -f -t securityfs securityfs /sys/kernel/security
28 +                       mount -f -t securityfs securityfs /sys/kernel/security 2> /dev/null
29                 fi
30         fi
31  
32         if is_fsmounted selinuxfs /selinux; then
33 -               mount -f -t selinuxfs selinuxfs /selinux
34 +               mount -f -t selinuxfs selinuxfs /selinux 2> /dev/null
35         fi
36  
37         emit --no-wait root-filesystem
This page took 0.109927 seconds and 4 git commands to generate.