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
Age
Commit message (
Expand
)
Author
2021-11-20
Gather the setup of the initial OpenBSD MBR partition into one
Kenneth R Westerback
2021-11-20
No need for intermediate 'adj' variable. Add 'disksz'
Kenneth R Westerback
2021-11-20
Sectors-per-cylinder (spc) is a constant value, so make it const
Kenneth R Westerback
2021-11-14
Calculate initial OpenBSD partition start/size using LBA values
Kenneth R Westerback
2021-11-10
Set correct prt_flag to 0.
Kenneth R Westerback
2021-11-09
Try this again, with (__powerpc__ || __mips__) chunk actually
Kenneth R Westerback
2021-11-09
no, that breaks architectures
Theo de Raadt
2021-11-08
Use a couple of local 'struct prt' variables to make MBR_init()
Kenneth R Westerback
2021-11-07
Nuke unused file.
Kenneth R Westerback
2021-10-29
Tweak code to make it clear that MBR_init() uses just the boot code and
Kenneth R Westerback
2021-10-25
Nuke a bunch of pointless #ifndef _<.h file>/#endif guards.
Kenneth R Westerback
2021-10-21
Remove 'disk' editing command. Determining the disk geometry on startup (from
Kenneth R Westerback
2021-10-19
Move get_default_mbr() invocation before DISK_open() invocation and remove
Kenneth R Westerback
2021-10-18
Don't bother decoding a partition's c/h/s start or end from the MBR read from
Kenneth R Westerback
2021-10-18
r1.66 (May 2014) introduced a two #if 0/#else/#endif chunks to avoid "over
Kenneth R Westerback
2021-10-13
Nuke builtin_mbr.
Kenneth R Westerback
2021-10-10
No need to assign dl.d_nsectors to disk.dk_sectors twice.
Kenneth R Westerback
2021-09-29
Don't constrain -b specified block count or block size to be greater than 63.
Kenneth R Westerback
2021-09-26
Revert '-b' change. Forgot required bsd.rd tweak.
Kenneth R Westerback
2021-09-26
MBR partitions created with '-b' should be marked DOSACTIVE.
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-13
Document that the editing command 'disk' takes an optional units argument.
Kenneth R Westerback
2021-09-12
Stop taking detour through unit_types[SECTORS] to find
Kenneth R Westerback
2021-09-10
Stop using NULL as a synonym for "s" (SECTORS). Just use "s".
Kenneth R Westerback
2021-09-09
Simplify logic in USER_edit() loop to eliminate unnecessary
Kenneth R Westerback
2021-09-09
Scan unit_types[] array using nitems() and eliminate the NULL
Kenneth R Westerback
2021-09-02
Split part_type into separate types 'mbr_type' and 'gpt_type',
Kenneth R Westerback
2021-09-01
Improve editing GPT partition type GUID's by rejecting partition
Kenneth R Westerback
2021-08-29
Nuke unused variable and unnecessary initialization.
Kenneth R Westerback
2021-08-28
Add hex_octet() so the strtol(..,16) dance is done in just one
Kenneth R Westerback
2021-08-27
Replace stray hand-rolled nitems() with nitems().
Kenneth R Westerback
2021-08-25
Two more Capt. Obvious comments go away.
Kenneth R Westerback
2021-08-25
Consolidate '-e' edit command parsing into ask_cmd(), simplifying
Kenneth R Westerback
2021-08-24
Add an #ifdef DEBUG/#endif chunk that dumps the entire GPT header when
Kenneth R Westerback
2021-08-24
A couple more Capt. Obvious comments can go.
Kenneth R Westerback
2021-08-24
Trim leading/trailing whitespace from -e input to make command
Kenneth R Westerback
2021-08-15
Don't check & errx() after each and every invocation of
Kenneth R Westerback
2021-08-12
Oops. Lost a 'nitems()' chunk during last commit. Don't
Kenneth R Westerback
2021-08-12
Further reduce cross-file confusion by adding USER_help() and
Kenneth R Westerback
2021-08-10
Go back to using Xwrite() during initialization phase to make
Kenneth R Westerback
2021-08-10
Eliminate single use 'error' vars by directly
Kenneth R Westerback
2021-08-07
style(9) says sort getopt() options and the following switch {}
Kenneth R Westerback
2021-08-07
Nuke a few Capt. Obvious comments.
Kenneth R Westerback
2021-08-07
Nuke unneeded #include's, one param.h -> types.h.
Kenneth R Westerback
2021-08-07
Nuke 'p' that r1.97 snuck into getopt() invocation back in 2015.
Kenneth R Westerback
2021-08-07
Comment typo 'mmbr' -> 'mbr'.
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-22
mbrfile can be const.
Kenneth R Westerback
2021-07-22
Have PRT_protected_guid() return 0/-1 like everything else
Kenneth R Westerback
[next]