In message <[email protected]>, Arthur Chance <[email protected]> wrote:
>On 11/15/12 12:41, Ronald F. Guilmette wrote: >>> -b is the beginning block of a partition. 34 is a magic value, the size >>> of a standard GPT partition table. >> >> It probably wouldn't have hurt anything to mention that in the gpart man >> page. >> >> And what about 162? Is that magic too? If so, how? I seriously do not >> know. > >The man example should be taken as a whole. You've got > >/sbin/gpart add -b 34 -s 128 -t freebsd-boot ad0 > >which gives you a 128 block partition starting at block 34, so the next >free block is 162, and the next partition is explicitly started there in > >/sbin/gpart add -b 162 -s 1048576 -t freebsd-ufs ad0 > >No magic, just arithmetic. :-) Ah! Silly me! Thank you. (I did miss that.) Regards, rfg _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
