Project

General

Profile

Bug #762 » disklabel64.5.patch

thomas.nikolajsen, 08/09/2007 09:49 PM

View differences:

disklabel64.5 9 Aug 2007 11:49:28 -0000
.\" $DragonFly: src/sbin/disklabel64/disklabel64.5,v 1.1 2007/06/19 02:53:55 dillon Exp $
.\"
.Dd June 5, 1993
.Dt DISKLABEL 5
.Dt DISKLABEL64 5
.Os
.Sh NAME
.Nm disklabel
.Nm disklabel64
.Nd disk pack label
.Sh SYNOPSIS
.In sys/disklabel.h
.In sys/disklabel64.h
.Sh DESCRIPTION
Each disk or disk pack on a system may contain a disk label
which provides detailed information
......
is divided.
It should be initialized when the disk is formatted,
and may be changed later with the
.Xr disklabel 8
.Xr disklabel64 8
program.
This information is used by the system disk driver and by the bootstrap
program to determine how to program the drive
......
.Dv DIOCWLABEL
.Xr ioctl 2 ,
which is done as needed by the
.Xr disklabel 8
.Xr disklabel64 8
program.
.Pp
A copy of the in-core label for a disk can be obtained with the
......
Thus, the initial label for a disk or disk pack must be installed
by writing to the raw disk.
All of these operations are normally done using
.Xr disklabel 8 .
.Xr disklabel64 8 .
.Pp
The format of the disk label is specified in
.In sys/disklabel.h .
.In sys/disklabel64.h .
.Sh SEE ALSO
.Xr disklabel 5 ,
.Xr disktab 5 ,
.Xr disklabel 8
.Xr disklabel64 8
(8-8/11)