CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/01/23 07:10:05
Modified files:
sbin/pdisk : dpme.h partition_map.c pdisk.c
Log message:
Add comments to ensure future spelunkers realize that struct block0
and struct dpme must be 512-bytes long at the moment.
Use this fact to avoid using DEV_BSIZE and thus replace #include
<param.h> with #include <types.h> in pdisk.c.
Constrain media size to UINT32_MAX, the actual limit, instead of
LONG_MAX, which could be way more on some theoretical future arch
running pdisk. And do the constraint inside open_partition_map().