10 /** A CPIO archive header
12 * All field are hexadecimal ASCII numbers padded with '0' on the
13 * left to the full width of the field.
16 /** The string "070701" or "070702" */
18 /** File inode number */
20 /** File mode and permissions */
26 /** Number of links */
28 /** Modification time */
30 /** Size of data field */
32 /** Major part of file device number */
34 /** Minor part of file device number */
36 /** Major part of device node reference */
38 /** Minor part of device node reference */
40 /** Length of filename, including final NUL */
42 /** Checksum of data field if c_magic is 070702, othersize zero */
44 } __attribute__ (( packed
));
47 #define CPIO_MAGIC "070701"
49 extern void cpio_set_field ( char *field
, unsigned long value
);
51 #endif /* _GPXE_CPIO_H */