search for: __lvm2_sb_h

Displaying 1 result from an estimated 1 matches for "__lvm2_sb_h".

2006 Mar 22
0
[patch] Add LVM2 detection to fstype
...{ 1, "ext2", ext2_image }, diff -Nur klibc-orig/usr/kinit/fstype/lvm2_sb.h klibc/usr/kinit/fstype/lvm2_sb.h --- klibc-orig/usr/kinit/fstype/lvm2_sb.h 1970-01-01 01:00:00.000000000 +0100 +++ klibc/usr/kinit/fstype/lvm2_sb.h 2006-03-23 00:46:21.000000000 +0100 @@ -0,0 +1,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...