diff --git a/etc/rc b/etc/rc index 7ce6dbc4a..5e3fe395b 100755 --- a/etc/rc +++ b/etc/rc @@ -158,6 +158,13 @@ autoboot|start) edit memory edit pfs edit init + # + # Keep a copy around to recover the root FS from crashes + # + rootline=`cat /etc/mtab | grep "on / "` + rootfs=fs_`echo "$rootline" | cut -d' ' -f1 | cut -d'/' -f3` + roottype=`echo "$rootline" | cut -d' ' -f5` + service -c edit /service/$roottype -label $rootfs fi if [ "$sflag" ] diff --git a/minix/servers/rs/table.c b/minix/servers/rs/table.c index d4c77a6aa..52cd40490 100644 --- a/minix/servers/rs/table.c +++ b/minix/servers/rs/table.c @@ -34,6 +34,7 @@ struct boot_image_sys boot_image_sys_table[] = { { RS_PROC_NR, SRVR_SF }, { VM_PROC_NR, VM_SF }, { PM_PROC_NR, SRVR_SF }, + { SCHED_PROC_NR, SRVR_SF }, { VFS_PROC_NR, SRVR_SF }, { MFS_PROC_NR, 0 }, { PFS_PROC_NR, SRV_SF },