uebayasi
cede8f9855
Let 'gpt add' suggest a collect device name so that opendisk(3) called by
...
dkctl(8) succeeds.
2009-02-07 18:12:22 +00:00
christos
dd771215eb
PR/38094: Robert Millan: support "BIOS Boot" partition type in gpt(8)
2008-02-24 18:38:10 +00:00
riz
42a4e6ef13
As discussed on tech-userlevel, add NetBSD GPT partition types for
...
swap, ffs, lfs, raidframe, ccd and cgd. gpt(8) now defaults to
NetBSD ffs if no type is given, but previous FreeBSD types are
still recognized in the DKWEDGE_AUTODISCOVER code.
2007-12-28 19:53:09 +00:00
dogcow
3a04c46a48
Your friendly neighborhood 64-bit architecture here to remind you that
...
strlen returns size_t, and printf's precision specifier uses int.
2007-12-19 05:48:33 +00:00
riz
0fac2edb7f
Fix the usage strings for each command, and print them all for the
...
"global" usage. It's still a little ugly, but hopefully not as
fantastically confusing as before...
2007-12-18 21:46:45 +00:00
dyoung
e62dac44ae
Produce more useful error messages.
2007-06-11 04:22:00 +00:00
riz
16a0235c60
Use strtoll() when converting a 64-bit quantity. This makes "gpt add"
...
work with an offset of more than 2147483647 sectors. While I'm here,
use strtoul() when converting an unsigned quantity.
2007-02-16 17:13:02 +00:00
christos
9b52236568
Make this work under NetBSD.
2006-10-15 22:36:29 +00:00
christos
5819a8c09d
Import the gpt tool from FreeBSD
2006-10-15 22:34:15 +00:00