sunlabel.8 (130010) | sunlabel.8 (144328) |
---|---|
1.\" Copyright (c) 2004 2.\" David E. O'Brien. All rights reserved. 3.\" Copyright (c) 2004 4.\" Joerg Wunsch. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 10 unchanged lines hidden (view full) --- 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" | 1.\" Copyright (c) 2004 2.\" David E. O'Brien. All rights reserved. 3.\" Copyright (c) 2004 4.\" Joerg Wunsch. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 10 unchanged lines hidden (view full) --- 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" |
27.\" $FreeBSD: head/sbin/sunlabel/sunlabel.8 130010 2004-06-02 20:21:28Z joerg $ | 27.\" $FreeBSD: head/sbin/sunlabel/sunlabel.8 144328 2005-03-30 09:33:10Z joerg $ |
28.\" | 28.\" |
29.Dd June 1, 2004 | 29.Dd March 30, 2005 |
30.Dt SUNLABEL 8 31.Os 32.Sh NAME 33.Nm sunlabel 34.Nd read and write disk pack label suitable for Sun's OpenBoot PROM 35.Sh SYNOPSIS 36.Nm 37.Op Fl r --- 195 unchanged lines hidden (view full) --- 233the template file again. 234If accepted, editing starts over. 235If declined, no changes will 236be written to disk. 237.Pp 238The label presented for editing is the same as the standard 239printout, with some added hints about the possible options to 240specify the sector size and starting cylinder. | 30.Dt SUNLABEL 8 31.Os 32.Sh NAME 33.Nm sunlabel 34.Nd read and write disk pack label suitable for Sun's OpenBoot PROM 35.Sh SYNOPSIS 36.Nm 37.Op Fl r --- 195 unchanged lines hidden (view full) --- 233the template file again. 234If accepted, editing starts over. 235If declined, no changes will 236be written to disk. 237.Pp 238The label presented for editing is the same as the standard 239printout, with some added hints about the possible options to 240specify the sector size and starting cylinder. |
241There are two areas in the template that can be edited: | 241The following areas in the template that can be edited: |
242.Bl -tag -width indent 243.It Sy Textual label, geometry emulation 244The line 245.D1 Li text: Ar XXXX Li cyl Ar CC Li alt 2 hd Ar HH Li sec Ar SS 246represents the label text. 247It must be retained exactly in the form shown. 248The editable text 249.Ar XXXX --- 11 unchanged lines hidden (view full) --- 261describe the number of cylinders, heads (tracks per 262cylinder), and sectors per track respectively. 263They might be modified to change the geometry emulation. 264Each number must be between 1 and 65535. 265The product 266.D1 Em (CC + 2) * HH * SS 267must be less than or equal to the total number of sectors of the 268disk (which is given as a hint in a comment field). | 242.Bl -tag -width indent 243.It Sy Textual label, geometry emulation 244The line 245.D1 Li text: Ar XXXX Li cyl Ar CC Li alt 2 hd Ar HH Li sec Ar SS 246represents the label text. 247It must be retained exactly in the form shown. 248The editable text 249.Ar XXXX --- 11 unchanged lines hidden (view full) --- 261describe the number of cylinders, heads (tracks per 262cylinder), and sectors per track respectively. 263They might be modified to change the geometry emulation. 264Each number must be between 1 and 65535. 265The product 266.D1 Em (CC + 2) * HH * SS 267must be less than or equal to the total number of sectors of the 268disk (which is given as a hint in a comment field). |
269.It Sy Volume name 270The volume name (if present) is introduced by the string 271.Dq "volume name:" . 272It can be up to 8 characters long, and might be useful to distinguish 273different disks in a system. 274Note that volume names require the VTOC elements to be present, so 275any of the VTOC constraints described below need to be obeyed as well 276if a volume name is to be set. 277Setting an empty volume name will delete it from the label. |
|
269.It Sy Partition entries 270Partition entries start with a letter from 271.Ql a 272through 273.Ql h , 274immediately followed by a colon, followed by the size of this 275partition, and the starting cylinder of the partition. 276The unit of the size field defaults to sectors, or to cylinders --- 148 unchanged lines hidden --- | 278.It Sy Partition entries 279Partition entries start with a letter from 280.Ql a 281through 282.Ql h , 283immediately followed by a colon, followed by the size of this 284partition, and the starting cylinder of the partition. 285The unit of the size field defaults to sectors, or to cylinders --- 148 unchanged lines hidden --- |