]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- removed DevFS support
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 9 Dec 2008 14:35:13 +0000 (14:35 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 9 Dec 2008 14:35:13 +0000 (14:35 +0000)
svn-id: @10030

po/pl.po
rc.d/rc.shutdown
rc.d/rc.sysinit
sysconfig/network-scripts/ifup-ppp
sysconfig/system

index 9f2ccd858bbd88929e1823ae66e3c6cf8d356414..6c9572644f6cfc9c767b5a9396ca2a9ce04caea5 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -83,10 +83,6 @@ msgstr "%s zabity ale plik z numerem procesu istnieje"
 msgid "Saving random seed"
 msgstr "Zapisanie podstawy generatora losowego"
 
-#: .././rc.d/rc.sysinit:146
-msgid "Starting Device Filesystem Daemon"
-msgstr "Uruchamianie Zarz±dcy Systemu Plików Urz±dzeñ (devfsd)"
-
 #: .././rc.d/rc.sysinit:245
 msgid "Initializing USB keyboard"
 msgstr "Inicjalizacja klawiatury USB"
@@ -428,10 +424,6 @@ msgstr "Sprawdzanie quot w systemach plik
 msgid "Initializing USB controller"
 msgstr "Inicjalizacja kontrolera USB"
 
-#: .././rc.d/rc.sysinit:141
-msgid "Mounting Device Filesystem"
-msgstr "Pod³±czanie systemów plików urz±dzeñ (DEVfs)"
-
 #: .././rc.d/rc.sysinit:561
 msgid "Starting up RAID device %s"
 msgstr "W³±czanie urz±dzenia RAID %s"
index 6f3fd0374c809e424c8a2fc7d5b21eab48401e40..c8f13553a3a62670c3e2238f51f096e84edc1f3b 100755 (executable)
@@ -64,10 +64,10 @@ if ! is_yes "$VSERVER"; then
        sig=-15
        retry=3
        force=
-       remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | iso9660 | ramfs | tmpfs | sysfs | securityfs | squashfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
+       remaining=$(awk '!/(^#| proc | loopfs | devpts | shm | iso9660 | ramfs | tmpfs | sysfs | securityfs | squashfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
        while [ -n "$remaining" -a "$retry" -gt 0 ]; do
                show "Unmounting file systems"; busy
-               ERRORS=$(umount -a $force -t noproc,devfs 2>&1); rc=$?
+               ERRORS=$(umount -a $force -t noproc 2>&1); rc=$?
 
                # we might had unmounted /usr, recheck $TPUT availability
                # but well. we need tput only for show() and busy() (ok() and fail() messages are already cached)
@@ -85,7 +85,7 @@ if ! is_yes "$VSERVER"; then
                fi
 
                sleep 2
-               remaining=$(awk '!/(^#| proc | loopfs | devfs | devpts | shm | iso9660 | ramfs | tmpfs | sysfs | securityfs | squashfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
+               remaining=$(awk '!/(^#| proc | loopfs | devpts | shm | iso9660 | ramfs | tmpfs | sysfs | securityfs | squashfs |^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts)
                [ -z "$remaining" ] && break
                fuser -k -m $sig $remaining > /dev/null
                sleep 5
index 716e46b78f901aca2dfdca056da1680168d020f8..7d8da507e846fdaa83d6caad37a77ac06314b0b4 100755 (executable)
@@ -209,23 +209,11 @@ if ! is_yes "$VSERVER"; then
 
        # Unmount the initrd, if necessary
        if grep -q /initrd /proc/mounts 2>/dev/null && ! grep -q /initrd/loopfs /proc/mounts 2>/dev/null; then
-               if [ -e /initrd/dev/.devfsd ]; then
-                       umount /initrd/dev
-               fi
                umount /initrd/dev 2>/dev/null
                umount /initrd
                /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1
        fi
 
-       # /dev must be also mounted before everything but only if we want use them ;-)
-       if is_yes "$MOUNT_DEVFS"; then
-               run_cmd "Mounting Device Filesystem" mount -n -t devfs /dev /dev
-       fi
-       # set up devfsd
-       if [ -e /dev/.devfsd -a -x /sbin/devfsd ]; then
-               run_cmd "Starting Device Filesystem Daemon" /sbin/devfsd /dev
-       fi
-
        # Start logging console output since we have all /dev stuff setup
        if [ "$RC_BOOTLOG" ]; then
                /sbin/blogd
@@ -497,11 +485,10 @@ if ! is_yes "$VSERVER"; then
        :>/etc/mtab
        [ -f /etc/cryptomtab ] && :>/etc/cryptomtab
 
-       # Enter root, /proc, /sys, devfs and other into mtab.
+       # Enter root, /proc, /sys and other into mtab.
        mount -f /
        mount -f /proc
        [ -f /proc/bus/usb/devices ] && mount -f -t usbfs -o devgid=78,devmode=664 usbfs /proc/bus/usb
-       [ -e /dev/.devfsd ] && mount -f -t devfs devfs /dev
 
        if grep -q sysfs /proc/mounts 2>/dev/null; then
                mount -f -t sysfs sysfs /sys
index 2e56cb1c478016f21fe48ed65a36c31665a580be..a5f85563ac4f5ce64cb7cd79dd3db6700b291236 100755 (executable)
@@ -40,7 +40,7 @@ if [ ! -x /usr/sbin/pppd ]; then
        exit 1
 fi
 
-# modprobe ppp modules (udev and devfsd case)
+# modprobe ppp modules (udev case)
 [ ! -e /dev/ppp ] && modprobe -s -k char-major-108
 
 opts="lock"
index 45cb21940f60e8e399034fcc01031901f3fdb8c3..e36a226f5ceef497ed1f548a7637f6cbcff626b3 100644 (file)
@@ -69,9 +69,6 @@ RUN_DEPMOD=ifmissing
 # Run /sbin/ldconfig at startup ?
 RUN_LDCONFIG=no
 
-# Mount devfs (Device Filesystem, Obsolete) to /dev
-MOUNT_DEVFS=no
-
 # Start udev (udev-core required)?
 START_UDEV=yes
 
This page took 0.060882 seconds and 4 git commands to generate.