jnemeth
9299334f79
Remove FreeBSD specific code as per message to tech-userlevel.
2013-11-27 01:47:53 +00:00
jnemeth
0a08058311
Add a resize command. This command was inspired by FreeBSD's gpart(8),
...
but the code was written by myself.
2013-11-20 08:08:47 +00:00
jakllsch
287267eb57
Clean up gpt(8) a bit more
...
uuid_create_nil(3) and uuid_is_nil(3) take a uuid_t*, not a pointer to
an array of bytes merely casted to compatible type.
Additonally, there no need for extra casts and address-of operations when
using le_uuid_*() functions.
Furthermore, le_uuid_*() are identical to uuid_*_le functions in
libc/libuuid, so use those instead on NetBSD.
2013-04-13 18:04:33 +00:00
jakllsch
a5fb435357
Support booting from GPT-partioned disks on PC-BIOS-compatible systems.
...
Much of the work in this commit was done by Mike Volokhov during GSoC 2009.
2011-01-06 01:08:48 +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
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
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