Up to [local] / src / sbin / fdisk
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_3_BASE
Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 10 19:19:32 2006 UTC (17 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.22: +50 -11 lines
Diff to previous 1.22 (colored)
Read/write device sectors rather than assuming sector size == DEV_BSIZE. Simply extract/insert the desired MBR from/into the first DEV_BSIZE bytes of the sector. Makes fdisk work with devices having a sector size different from DEV_BSIZE (512 bytes). e.g. 2048 byte sector MP3 devices. Original diff from weingart@. ok pedro@ deraadt@ weingart@