Changeset 3008 in MondoRescue for branches/3.0/mondo/src/restore-scripts/mondo/label-partitions-as-necessary
- Timestamp:
- May 15, 2012, 6:13:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/restore-scripts/mondo/label-partitions-as-necessary
r2172 r3008 28 28 else 29 29 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] || [ "$format" = "ext4" ]; then 30 command="tune2fs $opttun $label $mountpt" 30 if [ "$format" = "ext4" ] && [ -x "/sbin/tune4fs" ]; then 31 command="/sbin/tune4fs $opttun $label $mountpt" 32 else 33 command="tune2fs $opttun $label $mountpt" 34 fi 31 35 LogIt "Running $command" 32 36 $command … … 45 49 fi 46 50 else 47 LogIt "I am NOT going to run tune2 fs/reiserfstune: the partition is format '$format', which doesn't like tune2fs/reiserfstune anyway"51 LogIt "I am NOT going to run tune2|4fs/reiserfstune: the partition is format '$format', which doesn't like tune2|4fs/reiserfstune anyway" 48 52 fi 49 53 fi … … 53 57 # --------------------------------------------- 54 58 55 LogIt "Identifying your drives with tune2fs"59 LogIt "Identifying your drives with FS tune tool" 56 60 if [ "$#" -ne "1" ] ; then 57 61 LogIt "label-partitions-as-necessary /tmp/mountlist.txt < /tmp/fstab.new" 1
Note:
See TracChangeset
for help on using the changeset viewer.