Commit | Line | Data |
---|---|---|
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 | |
11 | disklabel \- disk pack label | |
12 | .SH SYNOPSIS | |
13 | .B #include <sys/disklabel.h> | |
14 | .SH DESCRIPTION | |
15 | Each disk or disk pack on a system may contain a disk label | |
16 | which provides detailed information | |
17 | about the geometry of the disk and the partitions into which the disk | |
18 | is divided. | |
19 | It should be initialized when the disk is formatted, | |
20 | and may be changed later with the | |
21 | .IR disklabel (8) | |
22 | program. | |
23 | This information is used by the system disk driver and by the bootstrap | |
24 | program to determine how to program the drive | |
25 | and where to find the filesystems on the disk partitions. | |
26 | Additional information is used by the filesystem in order | |
27 | to use the disk most efficiently and to locate important filesystem information. | |
28 | The label is located in sector number | |
29 | .I LABELSECTOR | |
30 | of the drive, usually sector 0 where it may be found | |
31 | without any information about the disk geometry. | |
32 | It is at an offset | |
33 | .I LABELOFFSET | |
34 | from the beginning of the sector, to allow room for the initial bootstrap. | |
35 | The format of the disk label, as specified in | |
36 | .RI < sys/disklabel.h >, | |
37 | is | |
38 | .nf | |
39 | .DT | |
40 | .so /usr/include/sys/disklabel.h | |
41 | .SH "SEE ALSO" | |
42 | disktab(5), disklabel(8) |