From: Thomas Veerman Date: Thu, 21 Jan 2010 09:58:07 +0000 (+0000) Subject: Unmount defunct boot ramdisk at bootup X-Git-Tag: v3.1.6~56 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=fadbbf7b2ef12fe7e85b5c260ac47aab7dee79c9;p=minix.git Unmount defunct boot ramdisk at bootup --- diff --git a/etc/rc b/etc/rc index edfd19082..08c0b4c4b 100755 --- a/etc/rc +++ b/etc/rc @@ -73,6 +73,9 @@ start) # /etc/fstab lists the root, tmp and usr devices. . /etc/fstab + # Unmount now defunct ramdisk + umount /dev/imgrd > /dev/null || echo "Failed to unmount boot ramdisk" + # Use MFS binary only from kernel image? if [ "`sysenv bin_img`" = 1 ] then diff --git a/servers/rs/table.c b/servers/rs/table.c index 6217ba617..19994afa9 100644 --- a/servers/rs/table.c +++ b/servers/rs/table.c @@ -82,7 +82,7 @@ PUBLIC struct boot_image_sys boot_image_sys_table[] = { { RS_PROC_NR, SRV_SF }, { VM_PROC_NR, VM_SF }, { LOG_PROC_NR, SRVC_SF }, - { MFS_PROC_NR, SRVC_SF }, + { MFS_PROC_NR, SF_USE_COPY | SF_NEED_COPY }, { PFS_PROC_NR, SRVC_SF }, { DEFAULT_BOOT_NR, SRV_SF } /* default entry */ };