Ignore:
Timestamp:
Dec 14, 2005, 12:04:21 AM (18 years ago)
Author:
bcornec
Message:

Usage of parted2fdisk instead of fdisk everywhere.
on ia64 this is mandatory, and simplifies the infrastructure
on other archs, it doesn't change anything as parted2fdisk here is a link to fdisk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/mondo/restore-scripts/mondo/grub-MR

    r139 r196  
    166166    line=`cat /proc/mdstat | grep $base | head -n1`
    167167    echo "mbrpart was $mbrpart"
    168     mbrpart=`fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' \
     168    mbrpart=`parted2fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' \
    169169| cut -d' ' -f2`
    170170    echo "mbrpart is $mbrpart"
Note: See TracChangeset for help on using the changeset viewer.