summaryrefslogtreecommitdiff
path: root/sbin/gpt/gpt.c
AgeCommit message (Expand)Author
2022-11-22Big-Endian fixes.mlelstv
2022-11-20Fix destroying and moving GPT header also for truncated/extendedmlelstv
2020-05-24Add -H flag to ignore existing MBR (Hybrid MBR/GPT mode).jmcneill
2019-10-11gpt_uuid_parse does not set errno ...christos
2019-06-25Add gpt_change_hdr() similar to gpt_change_ent() for changingjnemeth
2019-06-21Add a third argument to the "cfn" function that is an argument tojnemeth
2019-06-20Do not try to close a NULL gpt. Fixes the core dump part of PR bin/54312martin
2019-01-27Fix three MBR extended partition related bugs:martin
2018-10-14When changing entries skip those that do not match the -L option.mlelstv
2018-07-03Not all things that write to the disk do something that dk(4) willjnemeth
2018-02-13Spellingsevan
2017-09-07use __arraycountchristos
2017-09-06- make sure that the utf16 string is padded with 0's where needed.christos
2017-09-05PR/52522: Piotr Meyer: Don't NUL terminate the gpt label name.christos
2017-02-16Add -T timestamp for reproducible builds.christos
2016-09-24say that you need to destroy it first.christos
2016-06-09PR/51230: Add the ability to set the active flag in the PMBR.christos
2016-01-08gpt_vwarnx is printf-like.joerg
2015-12-29- add more informational messageschristos
2015-12-26pretty up attribute display a bitjnemeth
2015-12-06Add listing commands for type, set and unset.christos
2015-12-04Fix resizedisk.christos
2015-12-04don't print dkctl message for fileschristos
2015-12-03CID 1341556: Don't leak map infochristos
2015-12-03Add a space.christos
2015-12-03WARNS=6christos
2015-12-02annotate map additions with non-allocated memory.christos
2015-12-02- check errors from map allocationchristos
2015-12-02Always set NOSYNC if regular file, even if we got the size from the commandchristos
2015-12-02- dereferencing NULL is generally bad, found by visual inspectionjnemeth
2015-12-02print the old and the new style usage.christos
2015-12-02refactor the utf code so that it does not leak memory.christos
2015-12-01merge command line parsers and check all memory allocations.christos
2015-12-01refactor more duplicated code.christos
2015-12-01Refactor the command dispatching and help printing logic.christos
2015-12-01Firs step of refactoring, remove all globals, factor out some common code,christos
2015-12-01- use gpt_msg to print informational messages (perhaps these should be printedchristos
2015-12-01only update the wedge information if it is supported.christos
2015-11-30- automatically sync the wedge information unless -n is specified.christos
2015-11-29Do division oncechristos
2015-11-29Only use the ioctl's if we have them.christos
2015-11-29fix build breakage for systems that do not have DIOCG{SECTOR,MEDIA}SIZEjnemeth
2015-11-29merge the create errors in one place and fix them.christos
2015-11-03Add a "header" subcommand that displays information about the size ofjnemeth
2014-12-29Factor out the getdisksize() drvctl method, and provide an alternative thatchristos
2014-11-17handle constness bettermlelstv
2014-11-17handle constnessmlelstv
2014-11-17Report the argument instead of (null) when opendisk fails.mlelstv
2014-10-04Allow specifying sector and media size on the command line.christos
2014-10-02Fix tools build on !NetBSD.joerg