The
bread,
bwrite
and
berase
functions provide a block read, write and erase API for
libufs(3)
consumers.
They operate on a userland UFS disk structure, and perform the read
and write at a given block address, which uses the current
d_bsize
value of the structure.