diff options
author | Bill Nottingham <notting@redhat.com> | 2002-04-12 20:44:12 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-04-12 20:44:12 +0000 |
commit | ab9f5ca68f98a67b177cdd6e434324ae2180c76b (patch) | |
tree | e0ffae421c211dd7c18b5472171d6025a5f847b2 | |
parent | 00faec2727d1410de57e76837a264711bc093325 (diff) | |
download | initscripts-ab9f5ca68f98a67b177cdd6e434324ae2180c76b.tar initscripts-ab9f5ca68f98a67b177cdd6e434324ae2180c76b.tar.gz initscripts-ab9f5ca68f98a67b177cdd6e434324ae2180c76b.tar.bz2 initscripts-ab9f5ca68f98a67b177cdd6e434324ae2180c76b.tar.xz initscripts-ab9f5ca68f98a67b177cdd6e434324ae2180c76b.zip |
deal with devfs on initrd (#59562)
-rwxr-xr-x | rc.d/rc.sysinit | 3 |
1 files changed, 3 insertions, 0 deletions
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 |