root / cow.h @ 6f1f31c0
History | View | Annotate | Download (267 Bytes)
1 | 00af2b26 | bellard | /* user mode linux compatible COW file */
|
---|---|---|---|
2 | 00af2b26 | bellard | #define COW_MAGIC 0x4f4f4f4d /* MOOO */ |
3 | 00af2b26 | bellard | #define COW_VERSION 2 |
4 | 00af2b26 | bellard | |
5 | 00af2b26 | bellard | struct cow_header_v2 {
|
6 | 00af2b26 | bellard | uint32_t magic; |
7 | 00af2b26 | bellard | uint32_t version; |
8 | 00af2b26 | bellard | char backing_file[1024]; |
9 | 00af2b26 | bellard | int32_t mtime; |
10 | 00af2b26 | bellard | uint64_t size; |
11 | 00af2b26 | bellard | uint32_t sectorsize; |
12 | 00af2b26 | bellard | }; |