From fadbbf7b2ef12fe7e85b5c260ac47aab7dee79c9 Mon Sep 17 00:00:00 2001 From: Thomas Veerman Date: Thu, 21 Jan 2010 09:58:07 +0000 Subject: [PATCH] Unmount defunct boot ramdisk at bootup --- etc/rc | 3 +++ servers/rs/table.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 */ };