Changeset 1298 in MondoRescue


Ignore:
Timestamp:
Apr 14, 2007, 3:15:26 PM (17 years ago)
Author:
Bruno Cornec
Message:

NFS needs the fscache module on FC6 (at least)

Location:
branches/2.2.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mindi/mindi

    r1282 r1298  
    6767USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd ohci-hcd ohci_hcd usbkbd usbhid"
    6868CDROM_MODS="$TAPE_MODS $FLOPPY_MODS $IDE_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_cp437 sg sr_mod zlib_inflate $USB_MODS $PCMCIA_MODS"
    69 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet"
     69NET_MODS="sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet"
    7070EXTRA_MODS="$CDROM_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"
    7171# Replace with that line for HP OCMP e.g.
  • branches/2.2.2/mondo/src/common/libmondo-mountlist.c

    r1295 r1298  
    433433
    434434    for (curr_part_no = 1; curr_part_no < 99; curr_part_no++) {
    435         if ((strstr(device, "/cciss/") != NULL) ||
    436             (strstr(device, "/ataraid/") != NULL) ||
    437             (strstr(device, "/ida/") != NULL) ||
    438             (strstr(device, "/rd/") != NULL)) {
    439                 sprintf(device, "%sp%d", drive, curr_part_no);
    440             } else {   
    441                 sprintf(device, "%s%d", drive, curr_part_no);
    442             }
     435        build_partition_name(device, drive, curr_part_no);
    443436        pos = find_device_in_mountlist(mountlist, device);
    444437        if (pos < 0) {
    445             continue;
    446         }
    447         if (physical_drive_size < 0) {
    448             sprintf(tmp, " %s refers to non-existent hardware.", device);
    449             log_it(tmp);
    450             strcat(flaws_str, tmp);
    451             res++;
    452438            continue;
    453439        }
Note: See TracChangeset for help on using the changeset viewer.