int
disklabel_scan(struct disklabel *lp, char *buf, size_t buflen)
)
scans the memory region specified by
buf
and
buflen
for a valid disklabel.
If such a label is found, it is copied into
lp.
)
function returns 0 if a valid disklabel was found and 1 if not.