Commit Graph

25 Commits

Author SHA1 Message Date
christos
3017a7a39f PR/51230: Add the ability to set the active flag in the PMBR. 2016-06-09 15:12:54 +00:00
christos
f9db75489b - add more informational messages
- handle case where last argument is an option not a device (set -l)
2015-12-29 16:45:04 +00:00
christos
8bffbb3c7c more leak 2015-12-03 21:49:51 +00:00
christos
5c1ccc6e9b WARNS=6 2015-12-03 02:02:43 +00:00
christos
da0a3b4c0b eliminate static globals so that commands can be re-used. 2015-12-03 01:07:28 +00:00
christos
466f99a5ab don't advertise stuff we don't support. 2015-12-02 12:24:02 +00:00
christos
cdf86847f5 refactor the utf code so that it does not leak memory. 2015-12-02 04:07:11 +00:00
christos
0f004afe33 merge command line parsers and check all memory allocations. 2015-12-01 23:29:07 +00:00
christos
8ca93e4658 Refactor the command dispatching and help printing logic. 2015-12-01 16:32:19 +00:00
christos
0b43d398b9 Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.
2015-12-01 09:05:33 +00:00
christos
ca4e0dcdd1 merge the create errors in one place and fix them. 2015-11-29 00:14:46 +00:00
christos
194a5fe433 provide a copy of the kernel uuid generator (with portable API calls) for
tools.
2014-10-03 20:30:06 +00:00
joerg
1a21d263f9 Fix tools build on !NetBSD. 2014-10-02 19:15:21 +00:00
christos
21c34dbb1d Add internal uuid support, since the linux+macos versions of the library
are different than than *bsd ones, and others might not have it at all.
2014-09-30 17:59:59 +00:00
christos
866082940a more toolification 2014-09-29 21:04:34 +00:00
christos
a50708a134 minor toolification: need libprop... 2014-09-29 20:28:57 +00:00
jnemeth
ac204e48a2 PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L <label>" as selector option 2014-09-29 05:56:43 +00:00
jnemeth
ede6a6c556 no C99isms in tool code 2014-09-26 05:34:15 +00:00
jnemeth
9299334f79 Remove FreeBSD specific code as per message to tech-userlevel. 2013-11-27 01:47:53 +00:00
jakllsch
774af6a912 drop trailing whitespace 2013-04-13 18:25:56 +00:00
joerg
a4b65553ae Use __dead 2011-08-27 17:38:16 +00:00
martin
9a8267aad8 Fix sign compare bugs 2011-08-17 12:27:50 +00:00
jakllsch
fdc9473539 Ajdust bootcode file name from mbr_gpt to gptmbr.bin. 2011-08-17 00:45:55 +00:00
jakllsch
f43df25dd7 Switch 'gpt biosboot' to support T13 EDD-4 annex A GPT hybrid MBR instead
of a home-grown MBR/VBR hand off protocol.

'biosboot' now will set the legacy BIOS boot flag instead of patching a
GUID into the MBR.
2011-08-17 00:04:41 +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