From ab9f5ca68f98a67b177cdd6e434324ae2180c76b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 12 Apr 2002 20:44:12 +0000 Subject: deal with devfs on initrd (#59562) --- rc.d/rc.sysinit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 2a3b9980..03eddb19 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -60,6 +60,9 @@ action $"Mounting proc filesystem: " mount -n -t proc /proc /proc # Unmount the initrd, if necessary if grep -q /initrd /proc/mounts && ! grep -q /initrd/loopfs /proc/mounts ; then + if [ -e /initrd/dev/.devfsd ]; then + umount /initrd/dev + fi action $"Unmounting initrd: " umount /initrd /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1 fi -- cgit v1.2.1