Module Name: src Committed By: wiz Date: Tue May 1 21:03:37 UTC 2018
Modified Files: src/sbin/gpt: gpt.8 Log Message: Sort sections. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/gpt/gpt.8 diff -u src/sbin/gpt/gpt.8:1.60 src/sbin/gpt/gpt.8:1.61 --- src/sbin/gpt/gpt.8:1.60 Tue May 1 08:17:13 2018 +++ src/sbin/gpt/gpt.8 Tue May 1 21:03:37 2018 @@ -1,4 +1,4 @@ -.\" $NetBSD: gpt.8,v 1.60 2018/05/01 08:17:13 martin Exp $ +.\" $NetBSD: gpt.8,v 1.61 2018/05/01 21:03:37 wiz Exp $ .\" .\" Copyright (c) 2002 Marcel Moolenaar .\" All rights reserved. @@ -678,6 +678,12 @@ They may be used by .Nx code in the future. .El +.Sh EXIT STATUS +The +.Nm +command exits with a failure status (1) when the header command +is used and no GPT header is found. +This can be used to check for the existance of a GPT in shell scripts. .Sh EXAMPLES .Bd -literal nas# gpt show wd3 @@ -735,12 +741,6 @@ xotica# installboot /dev/rdk0 /usr/mdec/ xotica# mount /dev/dk0 /mnt xotica# cp /usr/mdec/boot /mnt .Ed -.Sh EXIT STATUS -The -.Nm -command exits with a failure status (1) when the header command -is used and no GPT header is found. -This can be used to check for the existance of a GPT in shell scripts. .Sh SEE ALSO .Xr boot 8 , .Xr dkctl 8 ,