From df916d5432b5c6bf22d2075ceb5a27b46d9d38ab Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 4 Nov 2004 13:07:47 +0000 Subject: more comment --- mdk-stage1/cdrom.c | 1 + mdk-stage1/directory.c | 1 + 2 files changed, 2 insertions(+) diff --git a/mdk-stage1/cdrom.c b/mdk-stage1/cdrom.c index c6f8455f7..acb202628 100644 --- a/mdk-stage1/cdrom.c +++ b/mdk-stage1/cdrom.c @@ -69,6 +69,7 @@ static enum return_type do_with_device(char * dev_name, char * dev_model) load_ramdisk(); /* we don't care about return code, we'll do it live if we failed */ if (IS_RESCUE) + /* in rescue mode, we don't need the media anymore */ umount(IMAGE_LOCATION); #endif diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c index 05beed1bc..5b0a201ec 100644 --- a/mdk-stage1/directory.c +++ b/mdk-stage1/directory.c @@ -184,6 +184,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me #endif if (IS_RESCUE) { + /* in rescue mode, we don't need the media anymore */ umount(IMAGE_LOCATION); del_loop(loopdev); } -- cgit v1.2.1