
- If the partition is already open, skip the open/close step. (Sync with other disk drivers.) - foosize()'s return value is in DEV_BSIZE units; adjust the size obtained from the disklabel accordingly. - Pass correct arguments to ofdopen() and ofdclose().