/freebsd/contrib/libarchive/cpio/ |
H A D | cpio.c | 134 struct cpio *cpio; in main() local 141 memset(cpio, 0, sizeof(*cpio)); in main() 237 cpio->filename = cpio->argument; in main() 249 cpio->format = cpio->argument; in main() 255 cpio->filename = cpio->argument; in main() 402 if (cpio->dot && cpio->verbose) in main() 434 mode_pass(cpio, *cpio->argv); in main() 524 mode_out(struct cpio *cpio) in mode_out() argument 962 mode_in(struct cpio *cpio) in mode_in() argument 1082 mode_list(struct cpio *cpio) in mode_list() argument [all …]
|
H A D | cmdline.c | 111 cpio_getopt(struct cpio *cpio) in cpio_getopt() argument 134 ++cpio->argv; in cpio_getopt() 135 --cpio->argc; in cpio_getopt() 151 ++cpio->argv; in cpio_getopt() 152 --cpio->argc; in cpio_getopt() 157 --cpio->argc; in cpio_getopt() 200 ++cpio->argv; in cpio_getopt() 201 --cpio->argc; in cpio_getopt() 262 cpio->argument = *cpio->argv; in cpio_getopt() 269 ++cpio->argv; in cpio_getopt() [all …]
|
H A D | cpio.h | 40 struct cpio { struct 118 int cpio_getopt(struct cpio *cpio);
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_cpio_odc.c | 104 struct cpio *cpio; in archive_write_set_format_cpio_odc() local 113 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_write_set_format_cpio_odc() 135 struct cpio *cpio = (struct cpio *)a->format_data; in archive_write_odc_options() local 229 struct cpio *cpio; in get_sconv() local 232 cpio = (struct cpio *)a->format_data; in get_sconv() 278 struct cpio *cpio; in write_header() local 287 cpio = (struct cpio *)a->format_data; in write_header() 418 struct cpio *cpio; in archive_write_odc_data() local 421 cpio = (struct cpio *)a->format_data; in archive_write_odc_data() 482 struct cpio *cpio; in archive_write_odc_free() local [all …]
|
H A D | archive_read_support_format_cpio.c | 225 struct cpio *cpio; in archive_read_support_format_cpio() local 231 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_read_support_format_cpio() 261 struct cpio *cpio; in archive_read_format_cpio_bid() local 266 cpio = (struct cpio *)(a->format->data); in archive_read_format_cpio_bid() 325 struct cpio *cpio; in archive_read_format_cpio_options() local 328 cpio = (struct cpio *)(a->format->data); in archive_read_format_cpio_options() 363 struct cpio *cpio; in archive_read_format_cpio_read_header() local 370 cpio = (struct cpio *)(a->format->data); in archive_read_format_cpio_read_header() 462 struct cpio *cpio; in archive_read_format_cpio_read_data() local 499 struct cpio *cpio = (struct cpio *)(a->format->data); in archive_read_format_cpio_skip() local [all …]
|
H A D | archive_write_set_format_cpio_binary.c | 173 struct cpio *cpio; in archive_write_set_format_cpio_binary() local 188 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_write_set_format_cpio_binary() 238 struct cpio *cpio = (struct cpio *)a->format_data; in archive_write_binary_options() local 332 struct cpio *cpio; in get_sconv() local 335 cpio = (struct cpio *)a->format_data; in get_sconv() 381 struct cpio *cpio; in write_header() local 390 cpio = (struct cpio *)a->format_data; in write_header() 558 struct cpio *cpio; in archive_write_binary_data() local 561 cpio = (struct cpio *)a->format_data; in archive_write_binary_data() 592 struct cpio *cpio; in archive_write_binary_free() local [all …]
|
H A D | archive_write_set_format_cpio_newc.c | 110 struct cpio *cpio; in archive_write_set_format_cpio_newc() local 119 cpio = (struct cpio *)calloc(1, sizeof(*cpio)); in archive_write_set_format_cpio_newc() 141 struct cpio *cpio = (struct cpio *)a->format_data; in archive_write_newc_options() local 169 struct cpio *cpio; in get_sconv() local 172 cpio = (struct cpio *)a->format_data; in get_sconv() 220 struct cpio *cpio; in write_header() local 229 cpio = (struct cpio *)a->format_data; in write_header() 376 struct cpio *cpio; in archive_write_newc_data() local 379 cpio = (struct cpio *)a->format_data; in archive_write_newc_data() 440 struct cpio *cpio; in archive_write_newc_free() local [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
H A D | xattr_011_pos.ksh | 70 log_must touch $TESTDIR/cpio.$$ 71 create_xattr $TESTDIR/cpio.$$ passwd /etc/passwd 72 echo $TESTDIR/cpio.$$ | cpio -o@ > $TEST_BASE_DIR/xattr.$$.cpio 73 echo $TESTDIR/cpio.$$ | cpio -o > $TEST_BASE_DIR/noxattr.$$.cpio 76 log_must cpio -iu < $TEST_BASE_DIR/xattr.$$.cpio 80 log_must cpio -iu@ < $TEST_BASE_DIR/xattr.$$.cpio 84 log_must cpio -iu < $TEST_BASE_DIR/noxattr.$$.cpio 88 log_must cpio -iu@ < $TEST_BASE_DIR/noxattr.$$.cpio 90 log_must rm $TESTDIR/cpio.$$ $TEST_BASE_DIR/xattr.$$.cpio $TEST_BASE_DIR/noxattr.$$.cpio
|
/freebsd/tests/sys/cddl/zfs/tests/xattr/ |
H A D | xattr_011_pos.ksh | 77 log_must $TOUCH $TESTDIR/cpio.${TESTCASE_ID} 78 create_xattr $TESTDIR/cpio.${TESTCASE_ID} passwd /etc/passwd 79 $ECHO $TESTDIR/cpio.${TESTCASE_ID} | $CPIO -o@ > $TMPDIR/xattr.${TESTCASE_ID}.cpio 80 $ECHO $TESTDIR/cpio.${TESTCASE_ID} | $CPIO -o > $TMPDIR/noxattr.${TESTCASE_ID}.cpio 83 log_must $CPIO -iu < $TMPDIR/xattr.${TESTCASE_ID}.cpio 87 log_must $CPIO -iu@ < $TMPDIR/xattr.${TESTCASE_ID}.cpio 91 log_must $CPIO -iu < $TMPDIR/noxattr.${TESTCASE_ID}.cpio 95 log_must $CPIO -iu@ < $TMPDIR/noxattr.${TESTCASE_ID}.cpio 97 log_must $RM $TESTDIR/cpio.${TESTCASE_ID} $TMPDIR/xattr.${TESTCASE_ID}.cpio $TMPDIR/noxattr.${TESTC…
|
/freebsd/contrib/libarchive/ |
H A D | FREEBSD-Xlist | 15 cpio/CMakeLists.txt 16 cpio/cpio_windows.c 17 cpio/cpio_windows.h 18 cpio/config_freebsd.h 19 cpio/test/CMakeLists.txt
|
H A D | README.md | 5 also includes implementations of the common `tar`, `cpio`, and `zcat` 62 * cpio.5, mtree.5, and tar.5 provide detailed information about these 64 modern cpio and tar variants. 82 * POSIX octet-oriented cpio 83 * SVR4 ASCII cpio 84 * Binary cpio (big-endian or little-endian) 85 * PWB binary cpio 117 * POSIX octet-oriented cpio 118 * SVR4 "newc" cpio 119 * Binary cpio (little-endian) [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/migration/ |
H A D | migration_004_pos.ksh | 60 $RM -rf $TESTDIR/cpio${TESTCASE_ID}.cpio 72 $LS $BNAME | $CPIO -oc > $TESTDIR/cpio${TESTCASE_ID}.cpio
|
H A D | migration_006_pos.ksh | 60 $RM -rf $NONZFS_TESTDIR/cpio${TESTCASE_ID}.cpio 72 $LS $BNAME | $CPIO -oc > $NONZFS_TESTDIR/cpio${TESTCASE_ID}.cpio
|
H A D | migration_005_pos.ksh | 60 $RM -rf $TESTDIR/cpio${TESTCASE_ID}.cpio 72 $LS $BNAME | $CPIO -oc > $TESTDIR/cpio${TESTCASE_ID}.cpio
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/migration/ |
H A D | migration_004_pos.ksh | 51 rm -rf $TESTDIR/cpio$$.cpio $TESTDIR/$BNAME
|
H A D | migration_006_pos.ksh | 51 rm -rf $NONZFS_TESTDIR/cpio$$.cpio $TESTDIR/$BNAME
|
H A D | migration_005_pos.ksh | 51 rm -rf $TESTDIR/cpio$$.cpio $NONZFS_TESTDIR/$BNAME
|
/freebsd/usr.bin/cpio/ |
H A D | Makefile | 11 .PATH: ${_LIBARCHIVEDIR}/cpio 12 SRCS= cpio.c cmdline.c
|
/freebsd/libexec/rc/ |
H A D | rc.initdiskless | 370 if [ -d $j -a ! -f $j.cpio.gz ]; then 375 for j in /conf/$i/*.cpio.gz ; do 376 subdir=${j%*.cpio.gz}
|
/freebsd/stand/kboot/ |
H A D | README | 9 (7) find . | sort | cpio -o -H newc | gzip > /tmp/initrd.cpio 12 -initrd /tmp/initrd.cpio \
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | archive | 194 # cpio archives 219 !:ext /cpio/cpi 220 >>0 use cpio-bin 226 !:ext cpio 229 …te: called "CPIO archive (portable)" by TrID, "cpio/Portable ASCII" by 7-Zip and "cpio/odc" by GN… 234 …Note: called "CPIO archive (portable)" by TrID, "cpio/New ASCII" by 7-Zip and "cpio/newc" by GNU … 238 !:ext cpio 239 # Note: called "CPIO archive (portable)" by TrID, "cpio/New CRC" by 7-Zip and "cpio/crc" by GNU cp… 244 !:ext /cpio 247 # `cpio -ivt --numeric-uid-gid --file=clam.bin-le.cpio` [all …]
|
/freebsd/tools/build/options/ |
H A D | WITHOUT_BSD_CPIO | 1 Do not build the BSD licensed version of cpio based on
|
/freebsd/usr.bin/cpio/tests/ |
H A D | functional_test.sh | 30 export BSDCPIO=$(which cpio)
|
/freebsd/tools/tools/nanobsd/ |
H A D | defaults.sh | 531 find . -print | cpio ${CPIO_SYMLINK} -dumpl ../../../etc/local 550 find $d -print | cpio ${CPIO_SYMLINK} -dumpl conf/base/ 631 find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)/' | cpio ${CPIO_SYMLINK} -dumpv ${mnt} 739 find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)/' | cpio ${CPIO_SYMLINK} -Ldumpv ${NANO_WORLDDIR}
|
/freebsd/bin/pax/ |
H A D | Makefile | 6 SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \
|