GSP
Quick Navigator

Search Site

Linux VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  - SBREAD (3)

NAME

sbread, sbwrite - read and write superblocks of a UFS file system

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also
History
Authors

LIBRARY


.Lb libufs

SYNOPSIS


.In sys/param.h
.In sys/mount.h
.In ufs/ufs/ufsmount.h
.In ufs/ufs/dinode.h
.In ufs/ffs/fs.h
.In libufs.h int sbread struct uufsd *disk int sbwrite struct uufsd *disk int all

DESCRIPTION

The sbread and sbwrite functions provide superblock reads and writes for libufs(3) consumers. The sbread and sbwrite functions operate on the superblock field, d_sb, associated with a given userland UFS disk structure. Additionally, the sbwrite function will write to all superblock locations if the all value is non-zero.

RETURN VALUES


.Rv -std sbread sbwrite

ERRORS

The function sbread may fail and set errno for any of the errors specified for the library function bread(3). Additionally, it may follow the libufs(3) error methodologies in situations where no usable superblock could be found.

The function sbwrite may fail and set errno for any of the errors specified for the library function bwrite(3).

SEE ALSO

bread(3), bwrite(3), libufs(3)

HISTORY

These functions first appeared as part of libufs(3) in
.Fx 5.0 .

AUTHORS


.An Juli Mallett Aq jmallett@FreeBSD.org
Search for    or go to Top of page |  Section 3 |  Main Index


June 4, 2003 SBREAD (3)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.