summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/cdrom.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-18 22:32:49 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-18 22:32:49 +0000
commit673ead66567478de006650e4a502b81d08652b4c (patch)
treed14a422e076b46e78c26baac44042c9cd295c070 /mdk-stage1/cdrom.c
parentca4dfa2f982141d9eaed450c9c3852cd9ec4e24c (diff)
downloaddrakx-673ead66567478de006650e4a502b81d08652b4c.tar
drakx-673ead66567478de006650e4a502b81d08652b4c.tar.gz
drakx-673ead66567478de006650e4a502b81d08652b4c.tar.bz2
drakx-673ead66567478de006650e4a502b81d08652b4c.tar.xz
drakx-673ead66567478de006650e4a502b81d08652b4c.zip
support cloop over NFS too. stay flexible enough so that server= parameter can either designate the root of the live tree or the root for the cloop live tree, program will detect automatically both.
Diffstat (limited to 'mdk-stage1/cdrom.c')
-rw-r--r--mdk-stage1/cdrom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mdk-stage1/cdrom.c b/mdk-stage1/cdrom.c
index 8c136c125..98cea4765 100644
--- a/mdk-stage1/cdrom.c
+++ b/mdk-stage1/cdrom.c
@@ -73,10 +73,6 @@ static enum return_type do_with_device(char * dev_name, char * dev_model)
#ifndef MANDRAKE_MOVE
if (IS_SPECIAL_STAGE2 || ramdisk_possible())
load_ramdisk(); /* we don't care about return code, we'll do it live if we failed */
-#else
- my_insmod("cloop", ANY_DRIVER_TYPE, "file=" IMAGE_LOCATION "/live_tree.clp");
- if (my_mount("/dev/cloop0", IMAGE_LOCATION_REAL, "iso9660", 0))
- stg1_error_message("Could not mount compressed loopback :(.");
#endif
if (IS_RESCUE)