]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/swapheader.h
2 * No copyright is claimed. This code is in the public domain; do with
9 #define SWAP_UUID_LENGTH 16
10 #define SWAP_LABEL_LENGTH 16
11 #define SWAP_SIGNATURE "SWAPSPACE2"
12 #define SWAP_SIGNATURE_SZ (sizeof(SWAP_SIGNATURE) - 1)
16 struct swap_header_v1_2
{
17 char bootbits
[1024]; /* Space for disklabel etc. */
21 unsigned char uuid
[SWAP_UUID_LENGTH
];
22 char volume_name
[SWAP_LABEL_LENGTH
];
23 uint32_t padding
[117];
27 #endif /* _SWAPHEADER_H */