Deleted Added
full compact
bsd.c (263669) bsd.c (263700)
1/*-
2 * Copyright (c) 2014 Juniper Networks, Inc.
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) 2014 Juniper Networks, Inc.
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: user/marcel/mkimg/bsd.c 263669 2014-03-23 19:22:13Z marcel $");
28__FBSDID("$FreeBSD: user/marcel/mkimg/bsd.c 263700 2014-03-25 02:32:04Z marcel $");
29
30#include <sys/types.h>
31#include <sys/disklabel.h>
32#include <sys/endian.h>
33#include <sys/errno.h>
34#include <stdlib.h>
35#include <string.h>
36#include <unistd.h>

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

112
113static struct mkimg_scheme bsd_scheme = {
114 .name = "bsd",
115 .description = "BSD disk label",
116 .aliases = bsd_aliases,
117 .metadata = bsd_metadata,
118 .write = bsd_write,
119 .nparts = 20,
29
30#include <sys/types.h>
31#include <sys/disklabel.h>
32#include <sys/endian.h>
33#include <sys/errno.h>
34#include <stdlib.h>
35#include <string.h>
36#include <unistd.h>

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

112
113static struct mkimg_scheme bsd_scheme = {
114 .name = "bsd",
115 .description = "BSD disk label",
116 .aliases = bsd_aliases,
117 .metadata = bsd_metadata,
118 .write = bsd_write,
119 .nparts = 20,
120 .bootcode = BBSIZE
120 .bootcode = BBSIZE,
121 .maxsecsz = 512
121};
122
123SCHEME_DEFINE(bsd_scheme);
122};
123
124SCHEME_DEFINE(bsd_scheme);