Parent Directory | Revision Log | Revision Graph | Patch
Revision 1.6 by slords, Sat Dec 23 18:31:05 2006 UTC | Revision 1.6.2.1 by slords, Sat Mar 15 18:11:42 2008 UTC | |
---|---|---|
# | Line 10 then | Line 10 then |
10 | sfdisk -d /dev/$device > /tmp/oldparts | sfdisk -d /dev/$device > /tmp/oldparts |
11 | sed 's/Id=8[32]/Id=fd/' /tmp/oldparts > /tmp/newparts | sed 's/Id=8[32]/Id=fd/' /tmp/oldparts > /tmp/newparts |
12 | ||
13 | mkdir /mnt/tmp | mkdir -p /mnt/tmp |
14 | for part in $(awk '/^\/dev\/.*Id=8[23]/{ print $1 }' /tmp/oldparts) | for part in $(awk '/^\/dev\/.*Id=8[23]/{ print $1 }' /tmp/oldparts) |
15 | do | do |
16 | md=/dev/md$(echo $part | sed 's|^.*[^0-9]||') | md=/dev/md$(echo $part | sed 's|^.*[^0-9]||') |
|
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |