GSP
Quick Navigator

Search Site

Unix 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  -  LIBUFS (3)

NAME

libufs - operate on UFS file systems from userland

CONTENTS

Library
Synopsis
Description
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

DESCRIPTION

The libufs library and the functions it provides are used for implementing utilities which need to access a UFS file system at a low level from userland. Facilities provided are used to implement utilities such as newfs(8) and dumpfs(8). The libufs library is designed to be simple, and to provide functions that are traditionally useful to have.

A disk is represented as the type
.Vt struct uufsd as defined in
.In libufs.h . The structure is filled out, operations are performed, and the disk is closed.

ERRORS

Functions provided by libufs return -1 in every functional error situation. They also set the d_error field of
.Vt struct uufsd to a string describing the error.

SEE ALSO

bread(3), bwrite(3), cgread(3), cgread1(3), cgwrite1(3), sbread(3), sbwrite(3), ufs_disk_close(3), ufs_disk_fillout(3), ufs_disk_fillout_blank(3), ufs_disk_write(3), ffs(7)

HISTORY

The libufs(3) library first appeared in
.Fx 5.0 .

AUTHORS


.An Juli Mallett Aq jmallett@FreeBSD.org


.An -nosplit Additional design, feedback, and ideas were provided by
.An Poul-Henning Kamp Aq phk@FreeBSD.org .

Search for    or go to Top of page |  Section 3 |  Main Index


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