From: Thomas Veerman Date: Wed, 2 May 2012 12:01:12 +0000 (+0200) Subject: newroot is gone too X-Git-Tag: v3.2.1~517 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.host.html?a=commitdiff_plain;h=0bcc4c15c9e5c9a383c526c2c1fb19fdeceff74f;p=minix.git newroot is gone too --- diff --git a/drivers/ext2_ramdisk/Makefile b/drivers/ext2_ramdisk/Makefile index 8760d1030..b58f1c4ad 100644 --- a/drivers/ext2_ramdisk/Makefile +++ b/drivers/ext2_ramdisk/Makefile @@ -11,7 +11,7 @@ SBINFILES = ahci at_wini ext2 floppy mfs procfs \ ETCFILES = system.conf mtab passwd pwd.db spwd.db master.passwd \ rs.single -USRBINFILES = newroot loadramdisk cdprobe +USRBINFILES = loadramdisk cdprobe USRSBINFILES = acpi pci IMAGE_DIRS= bin sbin etc usr/bin usr/sbin diff --git a/drivers/ext2_ramdisk/rc b/drivers/ext2_ramdisk/rc index 14ea74eec..81fff4bc6 100644 --- a/drivers/ext2_ramdisk/rc +++ b/drivers/ext2_ramdisk/rc @@ -67,7 +67,11 @@ echo "Root device name is $rootdevname" if [ -e $FSCK ] then $FSCK -p $rootdevname fi -/usr/bin/newroot $bin_img"$rootdevname" + +# Change root from temporary boot ramdisk to the configure +# root device +/bin/mount -n $bin_img"$rootdevname" / + /bin/mount -e -n -t procfs none /proc || echo "WARNING: couldn't mount procfs" exec /bin/sh /etc/rc "$@"