summaryrefslogtreecommitdiffstats
path: root/usr/kinit/fstype/lvm2_sb.h
blob: 75dfc107ad4cf969e2777470d2646f07b9b4f6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __LVM2_SB_H
#define __LVM2_SB_H

/* LVM2 super block definitions */
#define LVM2_MAGIC_L		8
#define LVM2_MAGIC		"LABELONE"
#define LVM2_TYPE_L		8
#define LVM2_TYPE		"LVM2 001"

struct lvm2_super_block {
	char magic[LVM2_MAGIC_L];
	__be64 sector;
	__be32 crc;
	__be32 offset;
	char type[LVM2_TYPE_L];
};

#endif