<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small"><span style="font-family:arial,sans-serif">On Sun, Mar 6, 2016 at 9:54 PM, Predrag Punosevac </span><span dir="ltr" style="font-family:arial,sans-serif"><<a href="mailto:punosevac72@gmail.com" target="_blank">punosevac72@gmail.com</a>></span><span style="font-family:arial,sans-serif"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
The gpt part is pretty easy and I have no problem following man pages<br>
but I am getting stuck with disklabel64 manpages. Namely examples are<br>
mostly referring how to creat boot disks. I am actually stuck with<br>
creating slices. Could anybody kindly point me to the documentation?<br>
I looked new Handbook but unlike the old<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small">I can't find the doc either, but here's an example from one of my scripts (substitute your own parameters):</div></div><div><br></div><div>gpt add -s 1817210221 /dev/serno/${ssd_serno}<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;display:inline"> (gpt will use whatever is the next free entry in the table for the new slice, s1 in my case because the disk already has s0)</div></div><div>disklabel64 -r -w /dev/serno/${ssd_serno}.<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;display:inline">s1</div> auto</div><div>disklabel64 /dev/serno/${ssd_serno}.<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;display:inline">s1</div> > /tmp/label</div><div>cat >> /tmp/label << EOF</div><div> <div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;display:inline">a</div>: 4g * 4.2BSD</div><div> <div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;display:inline">b</div>: 64g * swap</div><div> <div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;display:inline">d</div>: * * hammer</div><div>EOF</div><div>disklabel64 -R /dev/serno/${ssd_serno}.<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;display:inline">s1</div> /tmp/label</div><div><br></div></div></div></div>