index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sbin
/
fdisk
/
gpt.c
Age
Commit message (
Expand
)
Author
2023-06-20
Take more care to ensure name_to_string() always returns a proper
Kenneth R Westerback
2023-06-19
"%-Ns\n" is more appropriately "%s\n" to avoid adding extraneous
Kenneth R Westerback
2023-05-17
Make function and symmetry obvious by renaming PRT_make() to
Kenneth R Westerback
2023-05-10
Microsoft GPT partition attributes can appear on partitions other
Kenneth R Westerback
2023-04-07
Oops. Missed files in last commit.
Kenneth R Westerback
2023-03-31
Be more consistent in function naming. Functions taking or
Kenneth R Westerback
2023-03-25
Rename *_sname fields/functions to *_name to remove implied
Kenneth R Westerback
2023-03-06
Use nitems() of source and destination partition arrays
Kenneth R Westerback
2023-03-04
Don't whine about invalid start/end values when
Kenneth R Westerback
2023-03-04
Toss in some const's to ensure that static data pointed to
Kenneth R Westerback
2022-09-15
Short names make for shorter and prettier lines.
Kenneth R Westerback
2022-09-15
Add GPTPARTATTR_MS_* defines for Microsoft basic data attributes
Kenneth R Westerback
2022-09-11
Add #define's for GPT partition attribute bits REQUIRED, IGNORE
Kenneth R Westerback
2022-08-29
Print warning when a GPT partition start or end is outside the
Kenneth R Westerback
2022-06-28
Move debug-only variable 'i' to be with the other debug-only
Kenneth R Westerback
2022-05-10
Align fdisk with the logic used in the kernel and allow the
Kenneth R Westerback
2022-05-06
Rename PRT_uuid_to_[protection|typename] to PRT_uuid_to_[protected|sname],
Kenneth R Westerback
2022-04-28
Convert the internal GPT partition entries into host-endian form
Kenneth R Westerback
2022-04-25
Push DISK_[read|write]sectors() down to disk.c local functions
Kenneth R Westerback
2022-04-25
gh_csum an gh_part_csum are not used between initializing
Kenneth R Westerback
2022-04-23
Add missing uuid_dec_le() to init_gp() so -A works on
Kenneth R Westerback
2022-04-20
Refine the GPT partition entry table validity check to ensure
Kenneth R Westerback
2022-04-20
Simpify code manipulating GPT partition names by coalescing
Kenneth R Westerback
2022-04-20
Eliminate some local pointers to gp[pn] and just use gp[pn].
Kenneth R Westerback
2022-04-19
Bring GPT_print_partition() into line with other functions being passed
Kenneth R Westerback
2022-04-19
Move declaration of DEBUG-only variable inside #ifdef DEBUG.
Kenneth R Westerback
2022-04-19
Eliminate superfluous intermediate variables 'pncnt' now that
Kenneth R Westerback
2022-04-18
Convert the GPT header read from disk into a host-endian version,
Kenneth R Westerback
2022-04-14
Move ((gh_part_size % d_secsize) == 0) validity check
Kenneth R Westerback
2022-04-13
Correct a gh_part_csum calculation used in debug output.
Kenneth R Westerback
2022-04-13
Correct a gh_csum calculation used in debug output.
Kenneth R Westerback
2022-04-13
Eliminate a couple of 'XXX' assumptions by calculating the actual
Kenneth R Westerback
2022-03-16
The 'status' parameter to uuid_* functions is uint32_t, not int.
Kenneth R Westerback
2022-03-15
Always use letoh32(gh.gh_part_num) instead of NGPTPARTITIONS when
Kenneth R Westerback
2022-03-11
Simple hack to preserve the EFI System partition when
Kenneth R Westerback
2022-02-04
Wrap some annoyingly long lines.
Kenneth R Westerback
2022-02-04
Remove CHS information from internal representation of MBR partitions. Generate
Kenneth R Westerback
2022-01-02
Stop writing big-endian checksums into the little-endian GPT
Kenneth R Westerback
2021-12-29
Tweak some DEBUG output.
Kenneth R Westerback
2021-12-28
Tweak some DEBUG output.
Kenneth R Westerback
2021-09-13
disk.dk_size can't be 0 as we errx() if that happens during
Kenneth R Westerback
2021-09-12
Stop taking detour through unit_types[SECTORS] to find
Kenneth R Westerback
2021-08-24
Add an #ifdef DEBUG/#endif chunk that dumps the entire GPT header when
Kenneth R Westerback
2021-08-07
Nuke unneeded #include's, one param.h -> types.h.
Kenneth R Westerback
2021-08-06
Cleanup, clarify and generally polish the MBR/GPT initialization
Kenneth R Westerback
2021-07-26
Report write() and ioctl() errors encountered when writing GPT or MBR to disk.
Kenneth R Westerback
2021-07-21
Use a dedicated struct mbr to hold the GPT protective MBR,
Kenneth R Westerback
2021-07-18
Make GPT_read() obtain and validate the on-disk MBR itself, via
Kenneth R Westerback
2021-07-16
Compare pointer to NULL, not 0.
Kenneth R Westerback
2021-07-16
Be consistent and always return -1 to indicate failure.
Kenneth R Westerback
[next]