search for: __linux_swap_fs_h

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

2006 Feb 05
1
Add swap support to fstype, second version
...t identify_fs(int fd, const char **fstype, Index: klibc/usr/kinit/fstype/swap_fs.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ klibc/usr/kinit/fstype/swap_fs.h 2006-02-05 11:10:01.000000000 +0100 @@ -0,0 +1,18 @@ +#ifndef __LINUX_SWAP_FS_H +#define __LINUX_SWAP_FS_H + +/* The basic structures of the swap super block */ +#define SWAP_RESERVED_L BLOCK_SIZE - 10 +#define SWAP_MAGIC_L 10 +#define SWAP_MAGIC_1 "SWAP-SPACE" +#define SWAP_MAGIC_2 "SWAPSPACE2" +/* The super block is the last block in the first page */...