Changeset 1302 in MondoRescue for branches/stable


Ignore:
Timestamp:
Apr 15, 2007, 1:57:44 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • RAM size needs to be bigger on FC6
  • Attempt to fix a core dumped when a Big file doesn't exist and we're unable to create it (report from Nic Watson mondo_at_nicwatson.org)
  • NFS needs the fscache module on FC6 (at least)
  • Use build_partition_name and remove superfluous test (still try to solve cciss gap issue)
Location:
branches/stable
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/README.pxe

    r803 r1302  
    1111label mondo
    1212        kernel vmlinuz-mondo
    13         append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=36864 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix=machine] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [nfsmount=server:mountpoint] [ping=#] ...
     13        append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=65535 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix=machine] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [nfsmount=server:mountpoint] [ping=#] ...
    1414
    1515ipdev is the device name (e.g. eth2)
  • branches/stable/mindi/distributions/conf/mindi.conf.dist

    r1281 r1302  
    114114mindi_tape_mods="ht st osst ide-tape ide_tape"
    115115mindi_floppy_mods="ide-floppy floppy"
    116 mindi_net_mods="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet"
     116mindi_net_mods="sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet"
    117117mindi_extra_mods="vfat fat loop md-mod linear raid0 raid1 xor raid5 raid456 lvm-mod dm-mod dm-snapshot dm-zero dm-mirror jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache"
    118118#
  • branches/stable/mondo/src/common/libmondo-archive.c

    r1256 r1302  
    20982098        if (!does_file_exist(bigfile_fname)) {
    20992099            ftmp = fopen(bigfile_fname, "w");
    2100             paranoid_fclose(ftmp);
     2100            if (ftmp == NULL) {
     2101                mr_msg(3, "Unable to write to %s", bigfile_fname);
     2102                // So skip it as it doesn't exist
     2103                continue;
     2104            } else {
     2105                paranoid_fclose(ftmp);
     2106            }
    21012107            delete_when_done = TRUE;
    21022108        } else {
  • branches/stable/mondo/src/common/libmondo-mountlist.c

    r1297 r1302  
    411411
    412412    for (curr_part_no = 1; curr_part_no < 99; curr_part_no++) {
    413         if ((strstr(device, "/cciss/") != NULL) ||
    414             (strstr(device, "/ataraid/") != NULL) ||
    415             (strstr(device, "/ida/") != NULL) ||
    416             (strstr(device, "/rd/") != NULL)) {
    417                 mr_asprintf(&device, "%sp%d", drive, curr_part_no);
    418                 sprintf(device, "%sp%d", drive, curr_part_no);
    419             } else {   
    420                 mr_asprintf(&device, "%s%d", drive, curr_part_no);
    421             }
     413        malloc_string(device);
     414        build_partition_name(device, drive, curr_part_no);
    422415        pos = find_device_in_mountlist(mountlist, device);
    423416        if (pos < 0) {
    424             continue;
    425         }
    426         if (physical_drive_size < 0) {
    427             mr_asprintf(&tmp, " %s refers to non-existent hardware.", device);
    428             log_it(tmp);
    429             strcat(flaws_str, tmp);
    430             res++;
    431             mr_free(tmp);
    432417            continue;
    433418        }
Note: See TracChangeset for help on using the changeset viewer.