Searched refs:tar (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/migration/
H A Dmigration_001_pos.ksh37 # Migrating test file from ZFS fs to ZFS fs using tar.
42 # 3. Extract tar contents to a ZFS file system
51 rm -rf $TESTDIR/tar$$.tar
55 log_assert "Migrating test file from ZFS fs to ZFS fs using tar"
59 prepare $DNAME "tar cf $TESTDIR/tar$$.tar $BNAME"
62 migrate $TESTDIR $SUMA $SUMB "tar xf $TESTDIR/tar
[all...]
H A Dmigration_002_pos.ksh37 # Migrating test file from ZFS fs to UFS fs using tar.
42 # 3. Extract tar contents to a UFS file system
51 rm -rf $TESTDIR/tar$$.tar
55 log_assert "Migrating test file from ZFS fs to UFS fs using tar"
59 prepare $DNAME "tar cf $TESTDIR/tar$$.tar $BNAME"
62 migrate $NONZFS_TESTDIR $SUMA $SUMB "tar xf $TESTDIR/tar
[all...]
H A Dmigration_003_pos.ksh37 # Migrating test file from UFS fs to ZFS fs using tar.
42 # 3. Extract tar contents to a ZFS file system
51 rm -rf $NONZFS_TESTDIR/tar$$.tar
55 log_assert "Migrating test file from UFS fs to ZFS fs using tar"
59 prepare $DNAME "tar cf $NONZFS_TESTDIR/tar$$.tar $BNAME"
62 migrate $TESTDIR $SUMA $SUMB "tar xvf $NONZFS_TESTDIR/tar
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_011_pos.ksh40 # Basic applications work with xattrs: cpio cp find mv pax tar
54 log_assert "Basic applications work with xattrs: cpio cp find mv pax tar"
63 # For the archive applications below (tar, cpio, pax)
162 log_note "Checking tar"
163 log_must touch $TESTDIR/tar.$$
164 create_xattr $TESTDIR/tar.$$ passwd /etc/passwd
168 log_must tar cf noxattr.tar tar.$$
169 log_must tar
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dzfs_acl_tar_001_pos.ksh36 # Verifies that tar will include file attribute when @ flag is present.
41 # 3. tar all the files to directory B.
42 # 4. Then tar the tar file to directory C.
49 log_assert "Verifies that tar will include file attribute when @ flag is " \
61 # then tar all the files to $TMP_DIR/files.tar.
65 tarout=$TMP_DIR/files.tar
68 log_must usr_exec tar cpf@ $tarout *
71 # Enter into test directory and tar
[all...]
H A Dzfs_acl_tar_002_neg.ksh36 # Verifies that tar will not include files attribute when @ flag is not
42 # 3. tar all the files to directory B.
43 # 4. Then tar the tar file to directory C.
50 log_assert "Verifies that tar will not include files attribute when @ flag is "\
66 # then tar all the files to $TMP_DIR/files.tar.
68 tarout=$TMP_DIR/files.tar
71 log_must usr_exec tar cpf $tarout *
74 # Enter into test directory and tar
[all...]
H A Dzfs_acl_pax_006_pos.ksh36 # Verify files include attribute in tar archive and restore with tar
50 log_assert "Verify files include attribute in tar archive and restore with " \
51 "tar should succeed."
68 paxout=$TMP_DIR/files.tar
74 # Enter into test directory and pax $TMP_DIR/files.tar to current
86 log_must usr_exec tar xf@ $paxout
95 log_pass "Files 'pax tar' archive and restre with 'pax tar' passed."
H A Dzfs_acl_pax_002_pos.ksh37 # with tar should succeed.
43 # 4. Then tar the pax file to directory C.
50 log_assert "Verify include attribute in pax archive and restore with tar " \
66 paxout=$TMP_DIR/files.tar
72 # Enter into test directory and tar $TMP_DIR/files.pax to current
79 log_must eval "usr_exec tar xpf@ $paxout > /dev/null 2>&1"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_002_pos.ksh101 log_must tar cf $TESTDIR/tarball.original.tar file*
113 log_must tar cf $TESTDIR/tarball.snapshot.tar file*
121 log_must tar xf $TESTDIR/tarball.original.tar
124 log_must tar xf $TESTDIR/tarball.snapshot.tar
H A Dsnapshot_006_pos.ksh99 log_must tar cf $TESTDIR1/tarball.original.tar file*
111 log_must tar cf $TESTDIR1/tarball.snapshot.tar file*
119 log_must tar xf $TESTDIR1/tarball.original.tar
122 log_must tar xf $TESTDIR1/tarball.snapshot.tar
/illumos-gate/usr/src/cmd/tar/
H A DMakefile25 PROG= tar
26 DEFAULTFILES= tar.dfl
27 OBJS1= tar.o
46 XGETFLAGS += -a -x tar.xcl
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-image.in62 if test ! -f $bootdir.tar.gz; then
63 echo "# Creating \`$bootdir.tar.gz'"
68 trap "rm -f $bootdir.tar.gz" 0
69 GZIP=-9 tar -zcf $bootdir.tar.gz $bootdir
76 tarsize=`zcat $bootdir.tar.gz | wc -c`
122 tar -zxvf $bootdir.tar.gz
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_tar_001_pos.ksh38 # Verify that 'tar' command with -p option supports to archive ZFS ACLs
43 # 3. Use tar to archive file and directory
62 log_assert "Verify that 'tar' command supports to archive ZFS ACLs."
68 TARFILE=tarfile.$$.tar
73 log_note "Create second zfs file system to restore the tar archive."
94 log_must tar cpf $TARFILE $file $dir
96 log_note "Restore the tar archive."
99 log_must tar xpf $TARFILE
112 log_pass "'tar' command succeeds to support ZFS ACLs."
H A Dzfs_acl_tar_002_pos.ksh38 # Verify that 'tar' command with -p@ option supports to archive ZFS ACLs
45 # 4. Use tar cf@ to archive file and directory
46 # 5. Use tar xf@ to extract the archive file
64 log_assert "Verify that 'tar' command supports to archive ZFS ACLs & xattrs."
72 TARFILE=tarfile.$$.tar
75 log_note "Create second zfs file system to restore the tar archive."
103 log_must tar cpf@ $TARFILE ${testfile#$TESTDIR/} ${testdir#$TESTDIR/}
105 log_note "Restore the tar archive."
107 log_must tar xpf@ $TESTDIR/$TARFILE
119 log_pass "'tar' comman
[all...]
H A Dzfs_acl_chmod_delete_001_pos.ksh65 log_must tar xpf $TESTDIR/$ARCHIVEFILE
121 log_must tar xpf $TESTDIR/$ARCHIVEFILE
217 log_must tar cpf $TESTDIR/$ARCHIVEFILE basedir
275 typeset ARCHIVEFILE=archive.tar
H A Dzfs_acl_chmod_xattr_001_pos.ksh101 log_must tar xpf@ $TESTDIR/$ARCHIVEFILE
158 log_must tar cpf@ $TESTDIR/$ARCHIVEFILE basedir
215 typeset ARCHIVEFILE=archive.tar
H A Dzfs_acl_chmod_xattr_002_pos.ksh94 log_must tar xpf@ $TESTDIR/$ARCHIVEFILE
153 log_must tar cpf@ $TESTDIR/$ARCHIVEFILE basedir
210 typeset ARCHIVEFILE=archive.tar
H A Dzfs_acl_chmod_owner_001_pos.ksh132 tar xpf $TESTDIR/$ARCHIVEFILE
168 tar xpf $TESTDIR/$ARCHIVEFILE
276 tar cpf $TESTDIR/$ARCHIVEFILE basedir
305 typeset ARCHIVEFILE=archive.tar
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_missing_002_pos.ksh72 log_must tar xf $DEVICE_DIR/$DEVICE_ARCHIVE
126 log_must tar xf $DEVICE_DIR/$DEVICE_ARCHIVE
148 log_must tar xf $DEVICE_DIR/$DEVICE_ARCHIVE
161 log_must tar cf $DEVICE_DIR/$DEVICE_ARCHIVE ${DEVICE_FILE}*
H A Dzpool_import_missing_003_pos.ksh115 log_must tar xf $DEVICE_DIR/$DEVICE_ARCHIVE
145 log_must tar cf $DEVICE_DIR/$DEVICE_ARCHIVE ${DEVICE_FILE}*
167 log_must tar xf $DEVICE_DIR/$DEVICE_ARCHIVE
H A Dzpool_import_missing_001_pos.ksh134 log_must tar xf $DEVICE_DIR/$DEVICE_ARCHIVE
146 log_must tar cf $DEVICE_DIR/$DEVICE_ARCHIVE \
/illumos-gate/usr/src/grub/grub-0.97/
H A Dmissing86 tar try tar, gnutar, gtar, then tar without non-portable flags
114 tar)
116 echo 1>&2 "ERROR: \`tar' requires --run"
299 tar)
302 # We have already tried tar in the generic part.
316 tar "$firstarg" "$@" && exit 0
322 tar "$firstarg" "$@" && exit 0
328 WARNING: I can't seem to be able to run \`tar' wit
[all...]
/illumos-gate/usr/src/tools/quick/
H A Dmake-gss178 (cd $ROOT && tar cfj ../../gss-${git_rev}.tar.bz2 $files)
221 tar)
225 echo "Usage: $0 {build|lint|clean|clobber|tags|tar}";
/illumos-gate/usr/src/tools/onbld/Scm/
H A DBackup.py51 metadata.tar.gz (handled by CdmMetadataBackup)
56 clear.tar.gz (handled by CdmClearBackup)
122 '''Compare the contents of the tar archive to the directory
144 # fractional component (as a float), whereas the tar format
167 The size, modification time, type and permissions of the tar
193 # actual contents (in the tar), should be empty.
528 tarpath = self.bu.backupfile('metadata.tar.gz')
541 tar = CdmTarFile.gzopen(tarpath, 'w')
549 tar.add(path, name)
552 # tarfile.TarError doesn't include the tar membe
[all...]
/illumos-gate/usr/src/head/
H A Darchives.h36 #include <tar.h>
120 #define TBLOCK 512 /* length of tar header and data blocks */
121 #define TNAMLEN 100 /* maximum length for tar file names */
129 /* tar header definition */
227 * | stored as normal tar |
264 * Special values for tar archives
268 * typeflag for tar archives.

Completed in 56 milliseconds

12