summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2006-03-27 18:13:56 +0000
committerJudd Vinet <judd@archlinux.org>2006-03-27 18:13:56 +0000
commitdfb74ab60c8bb84f3e02d89cfe8127e55aeb7984 (patch)
tree61d476d9beebf8f577bf9ee4e7936d47ab2b9ffb
parent7cc268dcf5d2e64a3f10b808e8b1b90a8f6fec4a (diff)
fix for #4296
-rwxr-xr-xrc.single6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.single b/rc.single
index 80faa14..6931798 100755
--- a/rc.single
+++ b/rc.single
@@ -40,6 +40,12 @@ if [ "$PREVLEVEL" != "N" ]; then
elif [ -x /etc/start_udev -a -d /sys/block ]; then
# We have a start_udev script and /sys appears to be mounted, use UDev
status "Starting UDev Daemon" /etc/start_udev
+ if [ "`pidof -o %PPID /sbin/udevd`" ]; then
+ # If an old udevd is kicking around, we'll have to remount pts and shm
+ umount /dev/shm /dev/pts >/dev/null 2>&1
+ mount /dev/pts
+ mount /dev/shm
+ fi
else
# Static /dev, our last resort
status "Using static /dev filesystem" /bin/true