Deleted Added
full compact
g_part.c (172857) g_part.c (172940)
1/*-
2 * Copyright (c) 2002, 2005, 2006, 2007 Marcel Moolenaar
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 *

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2002, 2005, 2006, 2007 Marcel Moolenaar
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 *

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/geom/part/g_part.c 172857 2007-10-21 20:02:57Z marcel $");
28__FBSDID("$FreeBSD: head/sys/geom/part/g_part.c 172940 2007-10-24 21:33:00Z jhb $");
29
30#include <sys/param.h>
31#include <sys/bio.h>
32#include <sys/diskmbr.h>
33#include <sys/endian.h>
34#include <sys/kernel.h>
35#include <sys/kobj.h>
36#include <sys/limits.h>

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

61SET_DECLARE(g_part_scheme_set, struct g_part_scheme);
62
63struct g_part_alias_list {
64 const char *lexeme;
65 enum g_part_alias alias;
66} g_part_alias_list[G_PART_ALIAS_COUNT] = {
67 { "efi", G_PART_ALIAS_EFI },
68 { "freebsd", G_PART_ALIAS_FREEBSD },
29
30#include <sys/param.h>
31#include <sys/bio.h>
32#include <sys/diskmbr.h>
33#include <sys/endian.h>
34#include <sys/kernel.h>
35#include <sys/kobj.h>
36#include <sys/limits.h>

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

61SET_DECLARE(g_part_scheme_set, struct g_part_scheme);
62
63struct g_part_alias_list {
64 const char *lexeme;
65 enum g_part_alias alias;
66} g_part_alias_list[G_PART_ALIAS_COUNT] = {
67 { "efi", G_PART_ALIAS_EFI },
68 { "freebsd", G_PART_ALIAS_FREEBSD },
69 { "freebsd-boot", G_PART_ALIAS_FREEBSD_BOOT },
69 { "freebsd-swap", G_PART_ALIAS_FREEBSD_SWAP },
70 { "freebsd-ufs", G_PART_ALIAS_FREEBSD_UFS },
71 { "freebsd-vinum", G_PART_ALIAS_FREEBSD_VINUM },
72 { "freebsd-zfs", G_PART_ALIAS_FREEBSD_ZFS },
73 { "mbr", G_PART_ALIAS_MBR }
74};
75
76/*

--- 1465 unchanged lines hidden ---
70 { "freebsd-swap", G_PART_ALIAS_FREEBSD_SWAP },
71 { "freebsd-ufs", G_PART_ALIAS_FREEBSD_UFS },
72 { "freebsd-vinum", G_PART_ALIAS_FREEBSD_VINUM },
73 { "freebsd-zfs", G_PART_ALIAS_FREEBSD_ZFS },
74 { "mbr", G_PART_ALIAS_MBR }
75};
76
77/*

--- 1465 unchanged lines hidden ---