Deleted Added
full compact
geom_shsec.c (156257) geom_shsec.c (162868)
1/*-
2 * Copyright (c) 2004-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2004-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sbin/geom/class/shsec/geom_shsec.c 156257 2006-03-03 21:35:57Z wkoszek $");
28__FBSDID("$FreeBSD: head/sbin/geom/class/shsec/geom_shsec.c 162868 2006-09-30 14:40:50Z pjd $");
29
30#include <sys/param.h>
31#include <errno.h>
32#include <paths.h>
33#include <stdio.h>
34#include <stdlib.h>
35#include <stdint.h>
36#include <string.h>

--- 18 unchanged lines hidden (view full) ---

55 { "clear", G_FLAG_VERBOSE, shsec_main, G_NULL_OPTS,
56 "[-v] prov ..."
57 },
58 { "dump", 0, shsec_main, G_NULL_OPTS,
59 "prov ..."
60 },
61 { "label", G_FLAG_VERBOSE | G_FLAG_LOADKLD, shsec_main,
62 {
29
30#include <sys/param.h>
31#include <errno.h>
32#include <paths.h>
33#include <stdio.h>
34#include <stdlib.h>
35#include <stdint.h>
36#include <string.h>

--- 18 unchanged lines hidden (view full) ---

55 { "clear", G_FLAG_VERBOSE, shsec_main, G_NULL_OPTS,
56 "[-v] prov ..."
57 },
58 { "dump", 0, shsec_main, G_NULL_OPTS,
59 "prov ..."
60 },
61 { "label", G_FLAG_VERBOSE | G_FLAG_LOADKLD, shsec_main,
62 {
63 { 'h', "hardcode", NULL, G_TYPE_NONE },
63 { 'h', "hardcode", NULL, G_TYPE_BOOL },
64 G_OPT_SENTINEL
65 },
66 "[-hv] name prov prov ..."
67 },
68 { "stop", G_FLAG_VERBOSE, NULL,
69 {
64 G_OPT_SENTINEL
65 },
66 "[-hv] name prov prov ..."
67 },
68 { "stop", G_FLAG_VERBOSE, NULL,
69 {
70 { 'f', "force", NULL, G_TYPE_NONE },
70 { 'f', "force", NULL, G_TYPE_BOOL },
71 G_OPT_SENTINEL
72 },
73 "[-fv] name ..."
74 },
75 G_CMD_SENTINEL
76};
77
78static int verbose = 0;

--- 181 unchanged lines hidden ---
71 G_OPT_SENTINEL
72 },
73 "[-fv] name ..."
74 },
75 G_CMD_SENTINEL
76};
77
78static int verbose = 0;

--- 181 unchanged lines hidden ---