#include <cpio.h>
Data Fields | |
| char | c_magic [6] |
| The string "070701" or "070702". | |
| char | c_ino [8] |
| File inode number. | |
| char | c_mode [8] |
| File mode and permissions. | |
| char | c_uid [8] |
| File uid. | |
| char | c_gid [8] |
| File gid. | |
| char | c_nlink [8] |
| Number of links. | |
| char | c_mtime [8] |
| Modification time. | |
| char | c_filesize [8] |
| Size of data field. | |
| char | c_maj [8] |
| Major part of file device number. | |
| char | c_min [8] |
| Minor part of file device number. | |
| char | c_rmaj [8] |
| Major part of device node reference. | |
| char | c_rmin [8] |
| Minor part of device node reference. | |
| char | c_namesize [8] |
| Length of filename, including final NUL. | |
| char | c_chksum [8] |
| Checksum of data field if c_magic is 070702, othersize zero. | |
All field are hexadecimal ASCII numbers padded with '0' on the left to the full width of the field.
Definition at line 17 of file cpio.h.
| char cpio_header::c_magic[6] |
The string "070701" or "070702".
Definition at line 19 of file cpio.h.
Referenced by bzimage_load_initrd().
| char cpio_header::c_ino[8] |
| char cpio_header::c_mode[8] |
File mode and permissions.
Definition at line 23 of file cpio.h.
Referenced by bzimage_load_initrd().
| char cpio_header::c_uid[8] |
| char cpio_header::c_gid[8] |
| char cpio_header::c_nlink[8] |
| char cpio_header::c_mtime[8] |
| char cpio_header::c_filesize[8] |
| char cpio_header::c_maj[8] |
| char cpio_header::c_min[8] |
| char cpio_header::c_rmaj[8] |
| char cpio_header::c_rmin[8] |
| char cpio_header::c_namesize[8] |
Length of filename, including final NUL.
Definition at line 43 of file cpio.h.
Referenced by bzimage_load_initrd().
| char cpio_header::c_chksum[8] |
1.5.7.1