Changeset 1452 in MondoRescue
- Timestamp:
- May 20, 2007, 11:02:02 PM (18 years ago)
- Location:
- branches/stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/distributions/conf/mindi.conf.dist
r1433 r1452 108 108 # 109 109 mindi_scsi_mods="3w-xxxx 3w_xxxx 3w-9xxx 3w_9xxx 53c7,8xx a100u2w a320raid aacraid adpahci advansys aha152x aha1542 aha1740 aic79xx aic79xx_mod aic7xxx aic7xxx_mod aic7xxx_old AM53C974 atp870u BusLogic cciss cpqfc dmx3191d dpt_i2o dtc eata eata_dma eata_pio fdomain gdth g_NCR5380 i2o_block i2o_core ide-scsi ieee1394 imm in2000 initio ips iscsi isp megaraid megaraid_mm megaraid_mbox mptbase mptscsih mptsas mptspi mptfc mptscsi mptctl NCR53c406a ncr53c8xx nsp32 pas16 pci2000 pci2220i pcmcia ppa psi240i qla1280 qla2200 qla2300 qla2xxx qla2xxx_conf qlogicfas qlogicfc qlogicisp raw1394 scsi_debug scsi_mod sd_mod seagate sg sim710 sr_mod sym53c416 sym53c8xx sym53c8xx_2 t128 tmscsim u14-34f ultrastor wd7000 vmhgfs" 110 mindi_ide_mods="ide ide-generic ide-detect ide-mod ide-disk ide-cd ide_cd ide-cs ide-core ide_core edd paride ata_ piix libata via82cxxx generic nvidia ahci sata_nv cmd64x"110 mindi_ide_mods="ide ide-generic ide-detect ide-mod ide-disk ide-cd ide_cd ide-cs ide-core ide_core edd paride ata_generic ata_piix libata via82cxxx generic nvidia ahci sata_nv cmd64x" 111 111 mindi_usb_mods="usb-storage usb-ohci usb-uhci usbcore usb_storage input hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd ohci-hcd ohci_hcd usbkbd usbhid keybdev mousedev" 112 112 mindi_pcmcia_mods="pcmcia_core ds yenta_socket" -
branches/stable/mondo/src/common/libmondo-devices.c
r1408 r1452 2297 2297 return ('G'); 2298 2298 } else { 2299 log_it("Unknown boot loader"); 2300 return ('U'); 2299 // We need to look on each partition then 2300 mr_asprintf(&list_drives_cmd, 2301 "parted2fdisk -l 2>/dev/null | grep -E \"^/dev/\" | tr -s ':' ' ' | tr -s ' ' '\n' | grep /dev/"); 2302 log_it("list_drives_cmd = %s", list_drives_cmd); 2303 2304 if (!(pdrives = popen(list_drives_cmd, "r"))) { 2305 log_OS_error("Unable to open list of drives"); 2306 mr_free(list_drives_cmd); 2307 return ('\0'); 2308 } 2309 mr_free(list_drives_cmd); 2310 2311 for (mr_getline(¤t_drive, &n, pdrives); !feof(pdrives); 2312 mr_getline(¤t_drive, &n, pdrives)) { 2313 mr_strip_spaces(current_drive); 2314 log_it("looking at partition %s's BR", current_drive); 2315 if (does_string_exist_in_boot_block(current_drive, "GRUB")) { 2316 count_grubs++; 2317 strcpy(which_device, current_drive); 2318 break; 2319 } 2320 if (does_string_exist_in_boot_block(current_drive, "LILO")) { 2321 count_lilos++; 2322 strcpy(which_device, current_drive); 2323 break; 2324 } 2325 } 2326 2327 if (pclose(pdrives)) { 2328 log_OS_error("Cannot pclose pdrives"); 2329 } 2330 log_it("%d grubs and %d lilos\n", count_grubs, count_lilos); 2331 if (count_grubs && !count_lilos) { 2332 return ('G'); 2333 } else if (count_lilos && !count_grubs) { 2334 return ('L'); 2335 } else if (count_grubs == 1 && count_lilos == 1) { 2336 log_it("I'll bet you used to use LILO but switched to GRUB..."); 2337 return ('G'); 2338 } else { 2339 log_it("Unknown boot loader"); 2340 return ('U'); 2341 } 2301 2342 } 2302 2343 #endif -
branches/stable/mondo/src/do-not-compress-these
r30 r1452 1 .arc 2 .arC 3 .aRc 4 .aRC 5 .Arc 6 .ArC 7 .ARc 8 .ARC 9 .avi 10 .bz2 11 .bZ2 12 .Bz2 13 .BZ2 14 .deb 15 .gif 16 .giF 17 .gIf 18 .gIF 19 .Gif 20 .GiF 21 .GIf 22 .GIF 23 .gz 24 .gZ 25 .Gz 26 .GZ 27 jff 28 jfif. 29 .jpeg 30 .jpeg. 31 .jpeG 32 .jpEg 33 .jpEG 34 .jPeg 35 .jPeG 36 .jPEg 37 .jPEG 38 .Jpeg 39 .JpeG 40 .JpEg 41 .JpEG 42 .JPeg 43 .JPeG 44 .JPEg 45 .JPEG 46 .jpg 47 .jpG 48 .jPg 49 .jPG 50 .Jpg 51 .JpG 52 .JPg 53 .JPG 54 .lha 55 .lhA 56 .lHa 57 .lHA 58 .Lha 59 .LhA 60 .LHa 61 .LHA 62 .lzh 63 .lzH 64 .lZh 65 .lZH 66 .Lzh 67 .LzH 68 .LZh 69 .LZH 1 .jff 2 .jfif 70 3 .lzo 71 4 .lzop 72 .mp373 5 .mpeg 74 .mpg75 6 .ogg 76 .pdf77 .pdF78 .pDf79 .pDF80 .Pdf81 .PdF82 .PDf83 .PDF84 .png85 .pnG86 .pNg87 .pNG88 .Png89 .PnG90 .PNg91 .PNG92 7 .ra 93 8 .ram 94 .rar95 .raR96 .rAr97 .rAR98 .Rar99 .RaR100 .RAr101 .RAR102 9 .rm 103 .rpm104 .rpM105 .rPm106 .rPM107 .Rpm108 .RpM109 .RPm110 .RPM111 .taz112 .taZ113 .tAz114 .tAZ115 .Taz116 .TaZ117 .TAz118 .TAZ119 .tgz120 .tgZ121 .tGz122 .tGZ123 .Tgz124 .TgZ125 .TGz126 .TGZ127 .tif128 .tiF129 .tIf130 .tIF131 .Tif132 .TiF133 .TIf134 .TIF135 .tiff136 .tifF137 .tiFf138 .tiFF139 .tIff140 .tIfF141 .tIFf142 .tIFF143 .Tiff144 .TifF145 .TiFf146 .TiFF147 .TIff148 .TIfF149 .TIFf150 .TIFF151 .tpz152 .tpZ153 .tPz154 .tPZ155 .Tpz156 .TpZ157 .TPz158 .TPZ159 .uc2160 .uC2161 .Uc2162 .UC2163 10 .wma 164 11 .wmv 165 .z166 .Z167 .zip168 .ziP169 .zIp170 .zIP171 .Zip172 .ZiP173 .ZIp174 .ZIP175 .zoo176 .zoO177 .zOo178 .zOO179 .Zoo180 .ZoO181 .ZOo182 .ZOO
Note:
See TracChangeset
for help on using the changeset viewer.