Unmount defunct boot ramdisk at bootup

This commit is contained in:
Thomas Veerman 2010-01-21 09:58:07 +00:00
parent ca9280e097
commit fadbbf7b2e
2 changed files with 4 additions and 1 deletions

3
etc/rc
View file

@ -73,6 +73,9 @@ start)
# /etc/fstab lists the root, tmp and usr devices. # /etc/fstab lists the root, tmp and usr devices.
. /etc/fstab . /etc/fstab
# Unmount now defunct ramdisk
umount /dev/imgrd > /dev/null || echo "Failed to unmount boot ramdisk"
# Use MFS binary only from kernel image? # Use MFS binary only from kernel image?
if [ "`sysenv bin_img`" = 1 ] if [ "`sysenv bin_img`" = 1 ]
then then

View file

@ -82,7 +82,7 @@ PUBLIC struct boot_image_sys boot_image_sys_table[] = {
{ RS_PROC_NR, SRV_SF }, { RS_PROC_NR, SRV_SF },
{ VM_PROC_NR, VM_SF }, { VM_PROC_NR, VM_SF },
{ LOG_PROC_NR, SRVC_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 }, { PFS_PROC_NR, SRVC_SF },
{ DEFAULT_BOOT_NR, SRV_SF } /* default entry */ { DEFAULT_BOOT_NR, SRV_SF } /* default entry */
}; };