summaryrefslogtreecommitdiff
path: root/cow.h
blob: 5b5f497ed32e97a4b77de0a932dc86c9e4815af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* user mode linux compatible COW file */
#define COW_MAGIC 0x4f4f4f4d  /* MOOO */
#define COW_VERSION 2

struct cow_header_v2 {
    uint32_t magic;
    uint32_t version;
    char backing_file[1024];
    int32_t mtime;
    uint64_t size;
    uint32_t sectorsize;
};