diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-03-28 16:27:25 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-03-28 16:27:25 +0000 |
commit | 582b4c19db095f3d6bedf1c879707d8499d2b661 (patch) | |
tree | 2b22d5d14bb444e2a044767c8cc81919bf8fbe17 /sbin/disklabel/extern.h | |
parent | 3095199658e2d3029559180a61e3418d506d1f96 (diff) |
Move some output under the control of the '-v' flag. In particular only
display the partition info by default as is done in the E(ditor). The
physical info is now only displayed if '-v' is specified.
ok deraadt@
Diffstat (limited to 'sbin/disklabel/extern.h')
-rw-r--r-- | sbin/disklabel/extern.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/disklabel/extern.h b/sbin/disklabel/extern.h index b30e1fdd5b2..74daf49ee80 100644 --- a/sbin/disklabel/extern.h +++ b/sbin/disklabel/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.9 2009/03/22 19:01:32 krw Exp $ */ +/* $OpenBSD: extern.h,v 1.10 2009/03/28 16:27:24 krw Exp $ */ /* * Copyright (c) 2003 Theo de Raadt <deraadt@openbsd.org> @@ -16,6 +16,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/* Display options. */ +#define SHOW_PHYSINFO 0x1 +#define SHOW_PARTINFO 0x2 + u_short dkcksum(struct disklabel *); int checklabel(struct disklabel *); double scale(u_int64_t, char, struct disklabel *); |