Skip to content
Browse files

rc.d/root - Remove unnecessary 'mount /' call.

UFS and HAMMER do not emit an error when trying to mount
an already mounted root fileystem but cd9660 does.
That's why this wasn't producing any error message on
already installed systems.

While booting the LiveCD you could see:

cd9660: /dev/vcd0: Invalid argument

Reported-by: corecode
DragonFly-bug: <http://bugs.dragonflybsd.org/issues/1518>

This commit closes #1518
  • Loading branch information...
1 parent d84fc91 commit 9a705213bbef413ba20f6c22b142b055805d1eb5 @tuxillo tuxillo committed Mar 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 etc/rc.d/root
View
2 etc/rc.d/root
@@ -30,7 +30,7 @@ root_start()
;;
esac
umount -a >/dev/null 2>&1
- mount /
+
# If we booted a special kernel remove the record
# so we will boot the default kernel next time.
if [ -e /boot/nextkernel ]; then

0 comments on commit 9a70521

Please sign in to comment.
Something went wrong with that request. Please try again.