Changeset 2087


Ignore:
Timestamp:
Dec 14, 2008, 3:50:37 PM (11 years ago)
Author:
bruno
Message:
  • Adds ext4 support
Location:
branches/2.2.8
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mindi/README

    r785 r2087  
    1616thousands of users.
    1717
    18 MondoRescue is comprehensive. MondoRescue supports LVM, RAID, ext2, ext3, JFS,
    19 XFS, ReiserFS, VFAT, and can support additional file systems easily. It
     18MondoRescue is comprehensive. MondoRescue supports LVM, RAID, ext2, ext3, ext4,
     19JFS, XFS, ReiserFS, VFAT, and can support additional file systems easily. It
    2020supports adjustments in disk geometry, including migration from non-RAID to
    2121RAID. MondoRescue runs on all major Linux distributions and FreeBSD and is
  • branches/2.2.8/mindi/mindi

    r2084 r2087  
    5757CDROM_MODS="$TAPE_MODS $IDE_MODS $USB_MODS $PCMCIA_MODS $SCSI_MODS $NET_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660"
    5858# Those modules will only go on the backup media, not the boot media.
    59 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 raid456 lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache"
     59EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 raid456 lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16"
    6060# Replace with that line for HP OCMP e.g.
    6161#DENY_MODS="MPS_Driver_Mapper mps octtldrv tscttl streams kqemu fdomain"
  • branches/2.2.8/mindi/parted2fdisk.pl

    r1857 r2087  
    7474        "ext2" => "83",
    7575        "ext3" => "83",
     76        "ext4" => "83",
     77        "xfs" => "83",
    7678        "reiserfs" => "83",
    7779        "linux-swap" => "82",
     
    335337        "ext2" => "Linux",
    336338        "ext3" => "Linux",
     339        "ext4" => "Linux",
     340        "xfs" => "Linux",
    337341        "reiserfs" => "Linux",
    338342        "linux-swap" => "Linux swap",
  • branches/2.2.8/mondo-doc/mondorescue-howto.sgml

    r2018 r2087  
    22192219<para>If you want to move from ext2 to ReiserFS, you can do it here
    22202220(so long as your kernel supports ReiserFS). Ditto for XFS, JFS or
    2221 ext3.</para>
     2221ext3, ext4.</para>
    22222222<para>Mondorestore will try to modify your /etc/fstab to reflect
    22232223changes you have made to the mountlist. If you are not using LILO,
  • branches/2.2.8/mondo/README

    r785 r2087  
    1616thousands of users.
    1717
    18 MondoRescue is comprehensive. MondoRescue supports LVM, RAID, ext2, ext3, JFS,
    19 XFS, ReiserFS, VFAT, and can support additional file systems easily. It
     18MondoRescue is comprehensive. MondoRescue supports LVM, RAID, ext2, ext3, ext4,
     19JFS, XFS, ReiserFS, VFAT, and can support additional file systems easily. It
    2020supports adjustments in disk geometry, including migration from non-RAID to
    2121RAID. MondoRescue runs on all major Linux distributions and FreeBSD and is
  • branches/2.2.8/mondo/src/include/my-stuff.h

    r2030 r2087  
    322322#define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE  "/dev/md"
    323323#define RAID_DEVICE_STUB    DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE
    324 #define SANE_FORMATS        "swap image vfat ext2 ext3 xfs vfs jfs reiserfs vmfs dos minix coda nfs ntfs hpfs raid lvm cifs ocfs ocfs2"
     324#define SANE_FORMATS        "swap image vfat ext2 ext3 ext4 xfs vfs jfs reiserfs vmfs dos minix coda nfs ntfs hpfs raid lvm cifs ocfs ocfs2"
    325325#define ALT_TAPE        "/dev/ht0"
    326326#define MKE2FS_OR_NEWFS "mke2fs"
  • branches/2.2.8/mondo/src/mondorestore/mondo-prep.c

    r2052 r2087  
    20702070               || strcmp(format, "reiserfs") == 0
    20712071               || strcmp(format, "ext3") == 0
     2072               || strcmp(format, "ext4") == 0
    20722073               || strcmp(format, "xfs") == 0
    20732074               || strcmp(format, "jfs") == 0) {
     
    23972398    } else if (strcmp(format, "ext3") == 0) {
    23982399        strcpy(program, "mkfs -t ext3 -F -q");
     2400    } else if (strcmp(format, "ext4") == 0) {
     2401        strcpy(program, "mkfs -t ext4 -F -q");
    23992402    } else if (strcmp(format, "minix") == 0) {
    24002403        strcpy(program, "mkfs.minix");
  • branches/2.2.8/mondo/src/mondorestore/mondo-rstr-tools.c

    r2049 r2087  
    535535            update_progress_form(tmp);
    536536            strcpy(format, mountlist->el[lino].format);
    537             /* BERLIOS: removed as it doen't make sens to not mount ext3 partitions as ext3
    538             if (!strcmp(format, "ext3")) {
    539                 strcpy(format, "ext2");
    540             }
    541             */
    542537            res = mount_device(mountlist->el[lino].device,
    543538                       mountlist->el[lino].mountpoint,
  • branches/2.2.8/mondo/src/mondorestore/mondorestore.c

    r2079 r2087  
    644644    /*  if (restore_some || restore_all || */
    645645    if (ask_me_yes_or_no
    646         ("Label/Identify your ext2 and ext3 partitions if necessary?")) {
     646        ("Label/Identify your ext2/ext3/ext4 partitions if necessary?")) {
    647647        mvaddstr_and_log_it(g_currentY, 0,
    648                             "Using tune2fs to identify your ext2,3 partitions");
     648                            "Using tune2fs to identify your ext2,3,4 partitions");
    649649        if (does_file_exist("/tmp/fstab.new")) {
    650650            strcpy(fstab_fname, "/tmp/fstab.new");
  • branches/2.2.8/mondo/src/restore-scripts/mondo/hack-fstab

    r1755 r2087  
    2222    label=`echo "$incoming"      | cut -d' ' -f5`
    2323    original_fstab_line=`grep " $mountpoint " $old_fstab | grep -v "#" | tr -s ' ' ' '`
    24     if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then
     24    if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then
    2525        if [ "`echo "$original_fstab_line" | grep "LABEL="`" != "" ] ; then
    2626            device="LABEL=$label"
  • branches/2.2.8/mondo/src/restore-scripts/mondo/label-partitions-as-necessary

    r2066 r2087  
    2727        LogIt "Not labeling ($mountpt) as anything because ($label) is not a label"
    2828    else
    29         if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then
     29        if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then
    3030            command="tune2fs $opttun $label $mountpt"
    3131            LogIt "Running $command"
  • branches/2.2.8/website/about.shtml

    r926 r2087  
    2323
    2424       <p>
    25        <B>Mondo is comprehensive.</B> Mondo supports LVM 1/2, RAID, ext2, ext3,
     25       <B>Mondo is comprehensive.</B> Mondo supports LVM 1/2, RAID, ext2, ext3, ext4,
    2626       JFS, XFS, ReiserFS, VFAT, and can support additional filesystems
    2727       easily: just e-mail the <A HREF="/support.shtml">mailing list</A>
Note: See TracChangeset for help on using the changeset viewer.