Changeset 976 in MondoRescue
- Timestamp:
- Nov 24, 2006, 12:58:38 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r971 r976 1199 1199 done 1200 1200 [ "$IMAGE_DEVS" != "" ] && all_partitions="`echo "$all_partitions $IMAGE_DEVS" | tr ' ' '\n' | sort -u | tr '\n ' ' '`" 1201 printf " %-15s %-15s %-15s %-15s %-15s \n" DEVICE MOUNTPOINT FORMAT "SIZE (MB)" LABEL| tee -a $LOGFILE1201 printf " %-15s %-15s %-15s %-15s %-15s %-15s\n" DEVICE MOUNTPOINT FORMAT "SIZE (MB)" LABEL UUID | tee -a $LOGFILE 1202 1202 useless_dev="/dev/floppy /dev/fd0h1440 /dev/fd0H1440 /dev/cdrom /dev/cdrom/cdrom /dev/cdrom/cdrom1 /dev/cdrom/cdrom2 /dev/cdrom0 /dev/cdrom1 /dev/cdrom2 /dev/cdrom3 /dev/cdrw /dev/scd /dev/ram :/ /dev/sr0 /dev/sr1 /dev/cdrom1" 1203 1203 for c_p in $all_partitions ; do … … 1436 1436 partition_format="`echo "$partition_format" | cut -d',' -f1`"; # in case user has ext3,ext2 or something dumb like that 1437 1437 [ "$partition_format" = "auto" ] && partition_format="`mount | grep -w $current_partition | $AWK '{print$5;}'`"; # in case user uses 'auto' (dumb!) 1438 unofficial_outstring=`printf "\t%-15s %-15s %-15s %7s \n" $current_partition $partition_mountpt $partition_format $psz`1438 unofficial_outstring=`printf "\t%-15s %-15s %-15s %7s %-15s %-15s\n" $current_partition $partition_mountpt $partition_format $psz "$redhat_label" $uuid` 1439 1439 if [ "$current_partition" = "" ] ; then 1440 1440 echo "Unknown partition (outstring = $unofficial_outstring)" >> $LOGFILE … … 1443 1443 partition_mountpt=raid 1444 1444 partition_format=raid 1445 printf "\t%-15s %-15s %-15s %7s %-15s \n" $current_partition $partition_mountpt $partition_format $psz "$redhat_label"| tee -a $LOGFILE1446 printf "%s %s %s %s %s \n" $current_partition $partition_mountpt $partition_format $partition_size "$redhat_label">> $mountlist1445 printf "\t%-15s %-15s %-15s %7s %-15s %-15s\n" $current_partition $partition_mountpt $partition_format $psz "$redhat_label" $uuid | tee -a $LOGFILE 1446 printf "%s %s %s %s %s %s\n" $current_partition $partition_mountpt $partition_format $partition_size "$redhat_label" $uuid >> $mountlist 1447 1447 else 1448 1448 echo "Unknown mountpoint (outstring = $unofficial_outstring)" >> $LOGFILE … … 1459 1459 partition_format="vfat" 1460 1460 fi 1461 printf "\t%-15s %-15s %-15s %7s %-15s \n" $current_partition $partition_mountpt $partition_format $psz "$redhat_label"| tee -a $LOGFILE1462 printf "%s %s %s %s %s \n" $current_partition $partition_mountpt $partition_format $partition_size "$redhat_label">> $mountlist1461 printf "\t%-15s %-15s %-15s %7s %-15s %-15s\n" $current_partition $partition_mountpt $partition_format $psz "$redhat_label" $uuid | tee -a $LOGFILE 1462 printf "%s %s %s %s %s %s\n" $current_partition $partition_mountpt $partition_format $partition_size "$redhat_label" $uuid >> $mountlist 1463 1463 fi 1464 1464 done
Note:
See TracChangeset
for help on using the changeset viewer.