summaryrefslogtreecommitdiffstats
path: root/sbin/gpt/mkdisk.sh
blob: 6ead1d94af2063811235f658ec0c9762e223e75b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# $FreeBSD$

dd if=/dev/zero of=disk count=125307
sudo mdconfig -a -t vnode -f disk -u 4
sudo fdisk -f - md4 <<EOF
g c567 h13 s17
p 1 165 221 124865
EOF
sudo bsdlabel -w -r md4s1 pan60
sudo mdconfig -d -u 4
OpenPOWER on IntegriCloud