1
.\" Author: Juli Mallett <jmallett@FreeBSD.org>
2
.\" Date: June 04, 2003
4
.\" Manual page for libufs functions:
8
.\" This file is in the public domain.
10
.\" $FreeBSD: src/lib/libufs/sbread.3,v 1.5.32.1 2010/02/10 00:26:20 kensmith Exp $
17
.Nd read and write superblocks of a UFS file system
23
.In ufs/ufs/ufsmount.h
28
.Fn sbread "struct uufsd *disk"
30
.Fn sbwrite "struct uufsd *disk" "int all"
36
functions provide superblock reads and writes for
43
functions operate on the superblock field,
45
associated with a given userland UFS disk structure.
48
function will write to all superblock locations if the
52
.Rv -std sbread sbwrite
58
for any of the errors specified for the library function
60
Additionally, it may follow the
62
error methodologies in situations where no usable superblock could be
69
for any of the errors specified for the library function
76
These functions first appeared as part of
81
.An Juli Mallett Aq jmallett@FreeBSD.org