]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/swapheader.h
5 #define SWAP_UUID_LENGTH 16
6 #define SWAP_LABEL_LENGTH 16
7 #define SWAP_SIGNATURE "SWAPSPACE2"
8 #define SWAP_SIGNATURE_SZ (sizeof(SWAP_SIGNATURE) - 1)
12 struct swap_header_v1_2
{
13 char bootbits
[1024]; /* Space for disklabel etc. */
17 unsigned char uuid
[SWAP_UUID_LENGTH
];
18 char volume_name
[SWAP_LABEL_LENGTH
];
19 uint32_t padding
[117];
23 #endif /* _SWAPHEADER_H */