Age | Commit message (Collapse) | Author |
|
reading partition map.
Check for unmapped physical blocks and overlapping partitions when reading
partition map.
No need for duplicate checks in validate_map(), so remove validate.c from
build and 'v' command from code and docs.
|
|
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.
|
|
|
|
malloc().
Removes last use of last used function in media.c, so unhook that
from the Makefile and remove forward declarations from media.h.
No functional change.
|
|
anything other than 512-byte sectors are encountered. Unlink
deblock_media.c from the build.
ok jasper@
|
|
operations since all the uses but 1 are for 1 bit fields. No functional
change intended.
Unhook bitfield.c from build.
|
|
it and freeing it. Unhook hfs_misc.c from build since it now longer
contains anything being used.
|
|
usage() to pdisk.c and nuke do_help() and '-h'.
ok jasper@ deraadt@
|
|
|
|
the PIC .o files are unsuitable for static "instbin". This adds more
work at build time, but the result will be optimized for size.
|