summaryrefslogtreecommitdiff
path: root/distrib/special/pax
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-01-25 23:43:21 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-01-25 23:43:21 +0000
commiteafb7020b9a54c63dd1305c97ed2e2806fb889d0 (patch)
tree489ad44a2deb1dbad10e18384c012d634e9995fb /distrib/special/pax
parentf328a01c230196112e7fbd3ce504abc1d910fa07 (diff)
Use new read/write_block0 and read/write_dpme which handle any
endian or alignment issues forcefully. Removes need for convert_* functions so unhook convert.c from build. read/write_block become static functions inside file_media.c. Tweak struct block0 to stop trying to handle alignment issues by clever declaration. Rely on the new functions to accurately translate between on-disk and in-memory layouts. Enables pdisk to work on amd64 and likely other architectures if it's ever desirable. Does bring back DEV_BSIZE to pdisk.c since the in-memory structure will *not* be 512 bytes on other archs.
Diffstat (limited to 'distrib/special/pax')
0 files changed, 0 insertions, 0 deletions