Last change
on this file since 3541 was 1765, checked in by Bruno Cornec, 17 years ago |
Update to busybox 1.7.2
|
-
Property svn:eol-style
set to
native
|
File size:
1.3 KB
|
Rev | Line | |
---|
[1765] | 1 | /* vi: set sw=4 ts=4: */
|
---|
| 2 | /*
|
---|
| 3 | * e2image.h --- header file describing the ext2 image format
|
---|
| 4 | *
|
---|
| 5 | * Copyright (C) 2000 Theodore Ts'o.
|
---|
| 6 | *
|
---|
| 7 | * Note: this uses the POSIX IO interfaces, unlike most of the other
|
---|
| 8 | * functions in this library. So sue me.
|
---|
| 9 | *
|
---|
| 10 | * %Begin-Header%
|
---|
| 11 | * This file may be redistributed under the terms of the GNU Public
|
---|
| 12 | * License.
|
---|
| 13 | * %End-Header%
|
---|
| 14 | */
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 | struct ext2_image_hdr {
|
---|
| 18 | __u32 magic_number; /* This must be EXT2_ET_MAGIC_E2IMAGE */
|
---|
| 19 | char magic_descriptor[16]; /* "Ext2 Image 1.0", w/ null padding */
|
---|
| 20 | char fs_hostname[64];/* Hostname of machine of image */
|
---|
| 21 | char fs_netaddr[32]; /* Network address */
|
---|
| 22 | __u32 fs_netaddr_type;/* 0 = IPV4, 1 = IPV6, etc. */
|
---|
| 23 | __u32 fs_device; /* Device number of image */
|
---|
| 24 | char fs_device_name[64]; /* Device name */
|
---|
| 25 | char fs_uuid[16]; /* UUID of filesystem */
|
---|
| 26 | __u32 fs_blocksize; /* Block size of the filesystem */
|
---|
| 27 | __u32 fs_reserved[8];
|
---|
| 28 |
|
---|
| 29 | __u32 image_device; /* Device number of image file */
|
---|
| 30 | __u32 image_inode; /* Inode number of image file */
|
---|
| 31 | __u32 image_time; /* Time of image creation */
|
---|
| 32 | __u32 image_reserved[8];
|
---|
| 33 |
|
---|
| 34 | __u32 offset_super; /* Byte offset of the sb and descriptors */
|
---|
| 35 | __u32 offset_inode; /* Byte offset of the inode table */
|
---|
| 36 | __u32 offset_inodemap; /* Byte offset of the inode bitmaps */
|
---|
| 37 | __u32 offset_blockmap; /* Byte offset of the inode bitmaps */
|
---|
| 38 | __u32 offset_reserved[8];
|
---|
| 39 | };
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 |
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 |
|
---|
| 52 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.