mirror of
https://github.com/bobranten/Ext4Fsd.git
synced 2025-10-30 13:28:31 -05:00
Ext2Mgr adds + after fs name if it contains features not yet supported by the Windows driver, e.g EXT4+
This commit is contained in:
29
Ext2Mgr/swap.h
Normal file
29
Ext2Mgr/swap.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef SWAP_H
|
||||
#define SWAP_H
|
||||
|
||||
/* Definitions for a Linux swap header */
|
||||
|
||||
#define SWAP_HEADER_OFFSET 0
|
||||
#define SWAP_HEADER_MAGIC_V1 "SWAP-SPACE"
|
||||
#define SWAP_HEADER_MAGIC_V2 "SWAPSPACE2"
|
||||
|
||||
/* The following is a subset of linux/include/linux/swap.h */
|
||||
|
||||
union swap_header {
|
||||
struct
|
||||
{
|
||||
char reserved[PAGE_SIZE - 10];
|
||||
char magic[10];
|
||||
} magic;
|
||||
struct
|
||||
{
|
||||
char bootbits[1024]; /* Space for disklabel etc. */
|
||||
unsigned int version;
|
||||
unsigned int last_page;
|
||||
unsigned int nr_badpages;
|
||||
unsigned int padding[125];
|
||||
unsigned int badpages[1];
|
||||
} info;
|
||||
};
|
||||
|
||||
#endif /* SWAP_H */
|
||||
Reference in New Issue
Block a user