- or download this
# array mapping PPN to hash of info key => value
# element keys:
# LPN => logical page number stored at this block
# XPPN => array of unknown numbers found with this block
my @PPN = ();
- or download this
# array mapping LPN to array of PPNs that store copies
# each element is an array of PPNs
my @LPN = ();
- or download this
use constant NAND_PAGE_SIZE => 16384; # or whatever...
{
...
}
close IMAGE;
}