Changeset 2087 in MondoRescue for branches/2.2.8/mondo
- Timestamp:
- Dec 14, 2008, 3:50:37 PM (15 years ago)
- Location:
- branches/2.2.8/mondo
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/README
r785 r2087 16 16 thousands of users. 17 17 18 MondoRescue is comprehensive. MondoRescue supports LVM, RAID, ext2, ext3, JFS,19 XFS, ReiserFS, VFAT, and can support additional file systems easily. It18 MondoRescue is comprehensive. MondoRescue supports LVM, RAID, ext2, ext3, ext4, 19 JFS, XFS, ReiserFS, VFAT, and can support additional file systems easily. It 20 20 supports adjustments in disk geometry, including migration from non-RAID to 21 21 RAID. MondoRescue runs on all major Linux distributions and FreeBSD and is -
branches/2.2.8/mondo/src/include/my-stuff.h
r2030 r2087 322 322 #define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE "/dev/md" 323 323 #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" 325 325 #define ALT_TAPE "/dev/ht0" 326 326 #define MKE2FS_OR_NEWFS "mke2fs" -
branches/2.2.8/mondo/src/mondorestore/mondo-prep.c
r2052 r2087 2070 2070 || strcmp(format, "reiserfs") == 0 2071 2071 || strcmp(format, "ext3") == 0 2072 || strcmp(format, "ext4") == 0 2072 2073 || strcmp(format, "xfs") == 0 2073 2074 || strcmp(format, "jfs") == 0) { … … 2397 2398 } else if (strcmp(format, "ext3") == 0) { 2398 2399 strcpy(program, "mkfs -t ext3 -F -q"); 2400 } else if (strcmp(format, "ext4") == 0) { 2401 strcpy(program, "mkfs -t ext4 -F -q"); 2399 2402 } else if (strcmp(format, "minix") == 0) { 2400 2403 strcpy(program, "mkfs.minix"); -
branches/2.2.8/mondo/src/mondorestore/mondo-rstr-tools.c
r2049 r2087 535 535 update_progress_form(tmp); 536 536 strcpy(format, mountlist->el[lino].format); 537 /* BERLIOS: removed as it doen't make sens to not mount ext3 partitions as ext3538 if (!strcmp(format, "ext3")) {539 strcpy(format, "ext2");540 }541 */542 537 res = mount_device(mountlist->el[lino].device, 543 538 mountlist->el[lino].mountpoint, -
branches/2.2.8/mondo/src/mondorestore/mondorestore.c
r2079 r2087 644 644 /* if (restore_some || restore_all || */ 645 645 if (ask_me_yes_or_no 646 ("Label/Identify your ext2 and ext3partitions if necessary?")) {646 ("Label/Identify your ext2/ext3/ext4 partitions if necessary?")) { 647 647 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"); 649 649 if (does_file_exist("/tmp/fstab.new")) { 650 650 strcpy(fstab_fname, "/tmp/fstab.new"); -
branches/2.2.8/mondo/src/restore-scripts/mondo/hack-fstab
r1755 r2087 22 22 label=`echo "$incoming" | cut -d' ' -f5` 23 23 original_fstab_line=`grep " $mountpoint " $old_fstab | grep -v "#" | tr -s ' ' ' '` 24 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then24 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then 25 25 if [ "`echo "$original_fstab_line" | grep "LABEL="`" != "" ] ; then 26 26 device="LABEL=$label" -
branches/2.2.8/mondo/src/restore-scripts/mondo/label-partitions-as-necessary
r2066 r2087 27 27 LogIt "Not labeling ($mountpt) as anything because ($label) is not a label" 28 28 else 29 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then29 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then 30 30 command="tune2fs $opttun $label $mountpt" 31 31 LogIt "Running $command"
Note:
See TracChangeset
for help on using the changeset viewer.