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
--- 9 unchanged lines hidden (view full) ---
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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 * $FreeBSD: head/sys/geom/label/g_label.h 148978 2005-08-12 00:27:45Z pjd $
27 */
28
29#ifndef _G_LABEL_H_
30#define _G_LABEL_H_
31
32#include <sys/endian.h>
33
34#define G_LABEL_CLASS_NAME "LABEL"
--- 27 unchanged lines hidden (view full) ---
62 g_label_taste_t *ld_taste;
63 char *ld_dir;
64};
65
66/* Supported labels. */
67extern const struct g_label_desc g_label_ufs;
68extern const struct g_label_desc g_label_iso9660;
69extern const struct g_label_desc g_label_msdosfs;
70extern const struct g_label_desc g_label_ext2fs;
71extern const struct g_label_desc g_label_reiserfs;
72#endif /* _KERNEL */
73
74struct g_label_metadata {
75 char md_magic[16]; /* Magic value. */
76 uint32_t md_version; /* Version number. */
77 char md_label[16]; /* Label. */
78 uint64_t md_provsize; /* Provider's size. */
79};
--- 19 unchanged lines hidden ---
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
--- 9 unchanged lines hidden (view full) ---
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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 * $FreeBSD: head/sys/geom/label/g_label.h 148978 2005-08-12 00:27:45Z pjd $
27 */
28
29#ifndef _G_LABEL_H_
30#define _G_LABEL_H_
31
32#include <sys/endian.h>
33
34#define G_LABEL_CLASS_NAME "LABEL"
--- 27 unchanged lines hidden (view full) ---
62 g_label_taste_t *ld_taste;
63 char *ld_dir;
64};
65
66/* Supported labels. */
67extern const struct g_label_desc g_label_ufs;
68extern const struct g_label_desc g_label_iso9660;
69extern const struct g_label_desc g_label_msdosfs;
70extern const struct g_label_desc g_label_ext2fs;
71extern const struct g_label_desc g_label_reiserfs;
72#endif /* _KERNEL */
73
74struct g_label_metadata {
75 char md_magic[16]; /* Magic value. */
76 uint32_t md_version; /* Version number. */
77 char md_label[16]; /* Label. */
78 uint64_t md_provsize; /* Provider's size. */
79};
--- 19 unchanged lines hidden ---