CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2022/04/25 11:10:09
Modified files: sbin/fdisk : disk.c disk.h gpt.c mbr.c Log message: Push DISK_[read|write]sectors() down to disk.c local functions and expose new DISK_[read|write]bytes() functions. Eliminates many bytes <-> sector i/o dances and makes the code much easier to understand. Be a bit more careful to consistently write only bytes that checksums are calculated over. No intentional functional change.