pycpio
1.4.1
파이썬에서 CPIO 파일을 만드는 라이브러리.
현재 라이브러리는 새로운 ASCII 형식과 XZ 압축 만 지원합니다.
이 라이브러리는 UGRD에서 사용하도록 설계된 기본입니다. Initramfs에서 사용할 CPIO 아카이브를 만들 수 있습니다.
-h, --help show this help message and exit
-d, --debug enable debug mode (level 10)
-dd, --trace enable trace debug mode (level 5)
-v, --version print the version and exit
--log-file LOG_FILE set the path to the log file
--log-level LOG_LEVEL
set the log level
--log-time enable log timestamps
--no-log-color disable log color
-i INPUT, --input INPUT
input file
-a APPEND, --append APPEND
append to archive
--recursive RECURSIVE
append to archive recursively
--relative RELATIVE append to archive relative to this path
--absolute allow absolute paths
--reproducible Set mtime to 0, start inodes at 0
--rm RM, --delete RM delete from archive
-n NAME, --name NAME Name/path override for append
-s SYMLINK, --symlink SYMLINK
create symlink
-c CHARDEV, --chardev CHARDEV
create character device
--major MAJOR major number for character/block device
--minor MINOR minor number for character/block device
-u UID, --set-owner UID
set UID on all files
-g GID, --set-group GID
set GID on all files
-m MODE, --set-mode MODE
set mode on all files
-z COMPRESS, --compress COMPRESS
compression type
-o OUTPUT, --output OUTPUT
output file
-l, --list list CPIO contents
-p, --print print CPIO contents
pycpio.header.cpioheader : CPIO 헤더를 나타내는 클래스pycpio.header.headers 에 정의되어 있습니다 (새 ASCII 형식 만 지원됩니다)pycpio.cpio.data : CPIO 데이터 블록을 나타내는 클래스file : 일반 파일 또는 하드 링크.dir : 디렉토리symlink : 기호 링크chardev : 캐릭터 장치pycpio.cpio.archive 객체에서 수집됩니다