Ignore:
Timestamp:
Oct 4, 2015, 10:02:22 PM (9 years ago)
Author:
rick
Message:

PoC: update script support for labels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/files/tools/updatep1

    r13424 r13425  
    4343fi
    4444
     45. /tools/update.inc.sh
     46
    4547# Blow away old system.
    46 dd if=/dev/zero of=/dev/${NANO_DRIVE}s1 bs=1m count=1 > /dev/null 2>&1
     48dd if=/dev/zero of=/dev/${GEOM_DRIVE}s1 bs=1m count=1 > /dev/null 2>&1
    4749
    4850# Copy in new system
    49 dd of=/dev/${NANO_DRIVE}s1 obs=64k
     51dd of=/dev/${GEOM_DRIVE}s1 obs=64k
    5052
    5153# Check that it worked
    52 fsck_ffs -n /dev/${NANO_DRIVE}s1a
     54fsck_ffs -n /dev/${GEOM_DRIVE}s1a
    5355
    54 gpart set -a active -i 1 ${NANO_DRIVE}
     56gpart set -a active -i 1 ${GEOM_DRIVE}
    5557
Note: See TracChangeset for help on using the changeset viewer.