lukem
ef685eeea9
Enable WARNS=4 by default except for:
...
dump dump_lfs fsck_ffs fsck_lfs fsdb mount_smbfs
newfs_ext2fs newfs_lfs resize_lfs setkey
2009-04-11 07:58:11 +00:00
dyoung
5786b3376f
Fix spelling: s/parition/partition/.
2009-03-12 22:59:03 +00:00
joerg
e4e7c43459
Don't workaround ancient macro argument limit with .Xo/.Xc.
2009-03-11 18:02:00 +00:00
joerg
997634fe14
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
2009-03-09 19:24:26 +00:00
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
uebayasi
0edd7181ba
Make manual and usage consistent. No functional changes.
2009-02-07 17:21:44 +00:00
thorpej
7077ca222a
Don't use sizeof(struct gpt_hdr). It will pad the structure on x86-64,
...
which causes some systems to reject the GPT.
kern/38997
2008-11-12 22:50: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
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
he
565d8259e3
Add initialization of a variable where gcc for some archs thinks
...
that it may be used un-initialized. From cursory inspection it is
not obvious that gcc is wrong.
2006-10-17 21:14:03 +00:00
wiz
1a2477c1ae
Serial comma. Add RCS Id. Remove superfluous quotes.
2006-10-17 09:32:34 +00:00
he
a738248ed5
Some of our ports want <sys/param.h> in order to have DEV_BSIZE defined,
...
needed for LABELSECTOR expansion.
2006-10-17 09:20:09 +00:00
christos
9052088997
add casts
2006-10-15 22:43:30 +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