diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-05 15:19:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-05 15:19:34 +0000 |
commit | 63cc2156cb635bed3a1f027277ccd23313d3d440 (patch) | |
tree | d9e5e8ef9b230f7825542b7d24ce450141ad7575 | |
parent | f6d6bcc3022ceb39b27171845cf61d918fb0c7a5 (diff) | |
download | drakx-backup-do-not-use-63cc2156cb635bed3a1f027277ccd23313d3d440.tar drakx-backup-do-not-use-63cc2156cb635bed3a1f027277ccd23313d3d440.tar.gz drakx-backup-do-not-use-63cc2156cb635bed3a1f027277ccd23313d3d440.tar.bz2 drakx-backup-do-not-use-63cc2156cb635bed3a1f027277ccd23313d3d440.tar.xz drakx-backup-do-not-use-63cc2156cb635bed3a1f027277ccd23313d3d440.zip |
we use pivot_root for rescue, so don't umount STAGE2_LOCATION
-rw-r--r-- | mdk-stage1/tools.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index 6a34d8fb4..4e3f17a27 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -409,14 +409,6 @@ enum return_type load_ramdisk_fd(int ramdisk_fd, int size) if (my_mount(ramdisk, STAGE2_LOCATION, "ext2", 1)) return RETURN_ERROR; - if (IS_RESCUE) { - if (umount(STAGE2_LOCATION)) { - log_perror(ramdisk); - return RETURN_ERROR; - } - return RETURN_OK; /* fucksike, I lost several hours wondering why the kernel won't see the rescue if it is alreay mounted */ - } - return RETURN_OK; } |