Age | Commit message (Expand) | Author |
2022-04-25 | Push DISK_[read|write]sectors() down to disk.c local functions | Kenneth R Westerback |
2021-10-10 | No need to assign dl.d_nsectors to disk.dk_sectors twice. | 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-07 | Nuke unneeded #include's, one param.h -> types.h. | 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 | Tweak some err() verbiage. | Kenneth R Westerback |
2021-07-19 | Revert incorrect tweaks to disk geometry calculations and | Kenneth R Westerback |
2021-07-17 | Nuke a bunch of Capt. Obvious or misleading comments. | Kenneth R Westerback |
2021-07-16 | Be consistent and always return -1 to indicate failure. | Kenneth R Westerback |
2021-07-15 | No need for separate b_sectors, b_offset and b_type variables. We have struct | Kenneth R Westerback |
2021-07-15 | Consolidate disk geometry fiddling, turning -l/-c/-h/-s values into MBR | Kenneth R Westerback |
2021-07-13 | Disk sector addresses are normally stored/provided in uint64_t | Kenneth R Westerback |
2021-07-12 | Toss 'const' in anywhere the compiler doesn't complain about, thus identifying | Kenneth R Westerback |
2021-07-12 | Final batch of struct field name tweaks. 'cmd_' for cmd, ut_' for | Kenneth R Westerback |
2021-07-12 | Add 'dk_' prefix to struct disk field names. | Kenneth R Westerback |
2021-07-11 | Add tabs to make variable declarations easier | Kenneth R Westerback |
2021-07-11 | 'return' is not a function call. | Kenneth R Westerback |
2021-05-07 | Replace random mix of u_int* and uint* types with consistent uint* types. | Kenneth R Westerback |
2018-04-26 | Prefer <fcntl.h> over <sys/fcntl.h> in userland | Philip Guenther |
2016-03-09 | Accept only character special devices rather than generating a core | Kenneth R Westerback |
2015-12-12 | Open disk READONLY if none of i, e or u are specified. | Kenneth R Westerback |
2015-12-01 | Fix inexplicable use of 'disk' instead of 'disk.name' when trying to | Kenneth R Westerback |
2015-11-19 | Reduce overburden of unnecessary #include's. Note that param.h is | Kenneth R Westerback |
2015-11-14 | Since -l is ignored if -c/-h/-s are specified, make that combination | Kenneth R Westerback |
2015-11-13 | Move from opening/closing disk for every i/o to opening the disk once | Kenneth R Westerback |
2015-11-11 | Display full disk size when editing GPT, not the truncated MBR size. Display | Kenneth R Westerback |
2015-08-27 | Nuke some trailing whitespace that keeps coming back. | Kenneth R Westerback |
2015-03-30 | Even better -- readsector() and writesector() become DISK_readsector() and | Kenneth R Westerback |
2015-03-27 | Wrap some annoying long lines. | Kenneth R Westerback |
2015-03-16 | Stop passing around a pointer to the stack variable 'disk' in main(). | Kenneth R Westerback |
2015-03-14 | Whitespace & KNF tweaks. Change functions whose return values are | Kenneth R Westerback |
2015-03-14 | Switch all the license blocks to the standard OpenBSD/ISC license. | Kenneth R Westerback |
2014-03-31 | Whitespace rectification. | Kenneth R Westerback |
2014-03-20 | Add back various #includes of err.h, unistd.h, ctype.h, ioctl.h to | Kenneth R Westerback |
2014-03-17 | Nuke pointless blank lines, defines, comments and casts. Eliminate | Kenneth R Westerback |
2014-03-17 | Un-revert, being careful to not break snap building. Add paranoia check | Kenneth R Westerback |
2014-03-14 | Revert last -- broke building snaps. | Kenneth R Westerback |
2014-03-13 | Merge 'struct DISK_metrics' and 'struct disk' into one, since we don't | Kenneth R Westerback |
2014-03-09 | Instead of passing around 'char buf[DEV_BSIZE]' buffers, pass around | Kenneth R Westerback |
2014-03-07 | Relieve the code of an overburden of unnecessary typedef | Kenneth R Westerback |
2013-03-21 | more substantial include cleanup | Theo de Raadt |
2012-07-11 | MBR can't handle the truth. | Kenneth R Westerback |
2011-07-05 | Add DIOCGPDINFO to rxioctl(), as a synonym for DIOCGDINFO, the last | Kenneth R Westerback |
2010-06-30 | Make 'fdisk -i' start the OpenBSD partition on a power of 2 512-byte | Kenneth R Westerback |
2010-05-18 | dont let sys/ioctl.h imply that you get the ioctls in dkio.h. this | David Gwynne |
2009-02-08 | Eliminate excessive verbiage for 'fdisk -i' and 'fdisk -u'. Especially | Kenneth R Westerback |
2007-04-27 | Remove unneeded #include's, as already done for disklabel. CPU_BIOS | Kenneth R Westerback |
2007-04-26 | Eliminate CPU_BIOS from userland and wd(4) by always using the BIOS | Kenneth R Westerback |
2006-12-10 | Read/write device sectors rather than assuming sector size == | Kenneth R Westerback |