from Symmetric, with update
[unix-history] / usr / src / sbin / disklabel / disklabel.5.5
CommitLineData
37adbef5
MK
1.\" from Symmetric Computer Systems.
2.\" Modifications Copyright (c) 1987 Regents of the University of California.
3.\" All rights reserved. The Berkeley software License Agreement
4.\" specifies the terms and conditions for redistribution.
5.\"
6.\" @(#)disklabel.5.5 6.1 (Berkeley) %G%
7.\"
8.TH DISKLABEL 5 ""
9.UC 7
10.SH NAME
11disklabel \- disk pack label
12.SH SYNOPSIS
13.B #include <sys/disklabel.h>
14.SH DESCRIPTION
15Each disk or disk pack on a system may contain a disk label
16which provides detailed information
17about the geometry of the disk and the partitions into which the disk
18is divided.
19It should be initialized when the disk is formatted,
20and may be changed later with the
21.IR disklabel (8)
22program.
23This information is used by the system disk driver and by the bootstrap
24program to determine how to program the drive
25and where to find the filesystems on the disk partitions.
26Additional information is used by the filesystem in order
27to use the disk most efficiently and to locate important filesystem information.
28The label is located in sector number
29.I LABELSECTOR
30of the drive, usually sector 0 where it may be found
31without any information about the disk geometry.
32It is at an offset
33.I LABELOFFSET
34from the beginning of the sector, to allow room for the initial bootstrap.
35The format of the disk label, as specified in
36.RI < sys/disklabel.h >,
37is
38.nf
39.DT
40.so /usr/include/sys/disklabel.h
41.SH "SEE ALSO"
42disktab(5), disklabel(8)