16912898dSrumble.\" Copyright (C) 1998 Wolfgang Solfrank. 26912898dSrumble.\" Copyright (C) 1998 TooLs GmbH. 36912898dSrumble.\" All rights reserved. 46912898dSrumble.\" 56912898dSrumble.\" Redistribution and use in source and binary forms, with or without 66912898dSrumble.\" modification, are permitted provided that the following conditions 76912898dSrumble.\" are met: 86912898dSrumble.\" 1. Redistributions of source code must retain the above copyright 96912898dSrumble.\" notice, this list of conditions and the following disclaimer. 106912898dSrumble.\" 2. Redistributions in binary form must reproduce the above copyright 116912898dSrumble.\" notice, this list of conditions and the following disclaimer in the 126912898dSrumble.\" documentation and/or other materials provided with the distribution. 136912898dSrumble.\" 3. All advertising materials mentioning features or use of this software 146912898dSrumble.\" must display the following acknowledgement: 156912898dSrumble.\" This product includes software developed by TooLs GmbH. 166912898dSrumble.\" 4. The name of TooLs GmbH may not be used to endorse or promote products 176912898dSrumble.\" derived from this software without specific prior written permission. 186912898dSrumble.\" 196912898dSrumble.\" THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 206912898dSrumble.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 216912898dSrumble.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 226912898dSrumble.\" IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 236912898dSrumble.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 246912898dSrumble.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 256912898dSrumble.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 266912898dSrumble.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 276912898dSrumble.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 286912898dSrumble.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 296912898dSrumble.\" 30*ed8d5fd9Swiz.\" $NetBSD: svhlabel.8,v 1.3 2009/05/13 22:49:48 wiz Exp $ 316912898dSrumble.\" 326912898dSrumble.Dd February 26, 2007 336912898dSrumble.Dt SVHLABEL 8 346912898dSrumble.Os 356912898dSrumble.Sh NAME 366912898dSrumble.Nm svhlabel 376912898dSrumble.Nd update disk label from SGI Volume Header 386912898dSrumble.Sh SYNOPSIS 396912898dSrumble.Nm 406912898dSrumble.Op Fl fqrw 416912898dSrumble.Ar device 426912898dSrumble.Sh DESCRIPTION 436912898dSrumble.Nm 446912898dSrumbleis used to update a 456912898dSrumble.Nx 466912898dSrumbledisk label from the Silicon Graphics Volume Header 476912898dSrumbleon disks that were previously used on IRIX systems. 486912898dSrumble.Pp 496912898dSrumble.Nm 506912898dSrumblescans the Volume Header contained in the first blocks of the disk 516912898dSrumbleand generates additional partition entries for the disk from the 526912898dSrumbleentries found. 536912898dSrumble.Pp 546912898dSrumbleEach Volume Header entry which does not have an equivalent partition 556912898dSrumblein the disk label (equivalent in having the same size and offset) is 566912898dSrumbleadded to the first free partition slot in the disk label. 576912898dSrumbleA free partition slot is defined as one with an 586912898dSrumble.Dv fstype 596912898dSrumbleof 606912898dSrumble.Sq Li unused 616912898dSrumbleand a 626912898dSrumble.Dv size 636912898dSrumbleof zero 646912898dSrumble.Pq Sq 0 . 656912898dSrumbleIf there are not enough free slots in the disk label, a warning 666912898dSrumblewill be issued. 676912898dSrumble.Pp 686912898dSrumbleThe raw partition (typically partition 696912898dSrumble.Em c , 706912898dSrumblebut 716912898dSrumble.Em d 726912898dSrumbleon i386 and some other platforms) is left alone during this process. 736912898dSrumble.Pp 746912898dSrumbleBy default, the proposed changed disk label will be displayed and no 756912898dSrumbledisk label update will occur. 766912898dSrumble.Pp 776912898dSrumbleAvailable options: 786912898dSrumble.Pp 796912898dSrumble.Bl -tag -width sX 806912898dSrumble.It Fl f 816912898dSrumbleForce an update, even if there has been no change. 826912898dSrumble.It Fl q 836912898dSrumblePerforms operations in a quiet fashion. 846912898dSrumble.It Fl r 856912898dSrumbleIn conjunction with 866912898dSrumble.Fl w , 876912898dSrumblealso update the on-disk label. 886912898dSrumbleYou probably do not want to do this. 89*ed8d5fd9Swiz.It Fl w 90*ed8d5fd9SwizUpdate the in-core label if it has been changed. 916912898dSrumble.El 926912898dSrumble.Sh SEE ALSO 936912898dSrumble.Xr disklabel 8 , 946912898dSrumble.Xr dkctl 8 , 958600ed2bSrumble.Xr mount_efs 8 , 966912898dSrumble.Xr sgivol 8 976912898dSrumble.Sh HISTORY 986912898dSrumbleThe 996912898dSrumble.Nm 1006912898dSrumblecommand appeared in 1016912898dSrumble.Nx 5.0 . 102