10-29-2002
Are you sure it was created using TAR? If I try to TAR a tape created using CPIO I get the error
tar : directory checksum error
try doing
cpio -itv < /dev/rm/0
to see if there's anything on it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I am attempting to read tar images from a DLT tape, and have recieved an error, which i don't know:
tar: blocksize = 8
tar: directory checksum error
I have been able to read from other tapes, using the same command (tar -tvf /devicename) but this time i have an... (3 Replies)
Discussion started by: colesy
3 Replies
2. SCO
Hi,
I am new to unix. We use Travan tapes to backup. The tape drive on two of our machines was working fine till this morning till we used the cleaning tape. We put the cleaning tape on the first machine, it got struck so we have to pull it out. Since then when we do the tar command we are getting... (1 Reply)
Discussion started by: krk123
1 Replies
3. AIX
I am experimenting with one of my TSM processes, and I am trying to write something to a 4mm tape.
I tried to use the tctl command, but, I was unsuccessful.
what AiX command can I run in order to see if my output is on the tape ?
Thank You ! (0 Replies)
Discussion started by: DATDANGGADUDE
0 Replies
4. AIX
I'm attempting to read a tape in a 4mm drive (AIX 4.3) using the following command...
tar tvf /dev/rmt0
...and I keep getting the following error message:
tar: 0511-193 An error occurred while reading from the media.
There is not enough memory available now.
I've googled this error... (2 Replies)
Discussion started by: tdpearson
2 Replies
5. UNIX for Advanced & Expert Users
I've got a backuptape in cpio format that was accidentally overwritten with a very small batch file. As I assume that the cpio header has been overwritten, I cannot extract files from the backup in the conventional manner:
( cpio -itv </dev/rct0
cpio: this is not a cpio file, bad header)
... (0 Replies)
Discussion started by: mart4179
0 Replies
6. UNIX for Dummies Questions & Answers
Does anyone know how to read an LTO tape from this jukebox? (3 Replies)
Discussion started by: dr. phreeze
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a HP SURESTORE 40 tape drive. Several archives are stored on it using DUMP. I have several volumes stored on the tape...
If I issue restore -rf /dev/st0 will it restore just the arhcive that the tape reader is currently on or will it restore all of them?
Thanks, (3 Replies)
Discussion started by: mojoman
3 Replies
8. Red Hat
Thanks for any insights you might have...
I have a RH8 system setup with a DAT drive.
I have a AIX tape that was made using cpio.
Bottom line is I need to read the AIX tape into the RH box.
I was able to do cpio -itv --no-absolute-filenames < /dev/st0 and read the table of contents.
... (0 Replies)
Discussion started by: mike114327
0 Replies
9. UNIX for Advanced & Expert Users
Hi - I am getting the error
`Error reading response length from authentication socket'
when I ssh from my cluster to another cluster, and then back to my cluster. It doesn't seem to affect anything, but it's just annoying that it always pops up and tends to confuse new users of the cluster. I... (1 Reply)
Discussion started by: cpp6f
1 Replies
10. SCO
Hello...
i got an error in my SCO OpenServer 6. the error is:
msgcnt 1 vxfs: mesg 016: vx_ilisterr - / file system error reading inode 373
Can anyone help me? (1 Reply)
Discussion started by: AndryMB
1 Replies
LEARN ABOUT CENTOS
th_get_mode
th_get_pathname(3) C Library Calls th_get_pathname(3)
NAME
th_get_pathname, th_get_uid, th_get_gid, th_get_mode, th_get_crc, th_get_size, th_get_mtime, th_get_devmajor, th_get_devminor,
th_get_linkname - extract individual fields of a tar header
TH_ISREG, TH_ISLNK, TH_ISSYM, TH_ISCHR, TH_ISBLK, TH_ISDIR, TH_ISFIFO - determine what kind of file a tar header refers to
TH_ISLONGNAME, TH_ISLONGLINK - determine whether the GNU extensions are in use
SYNOPSIS
#include <libtar.h>
char *th_get_linkname(TAR *t);
char *th_get_pathname(TAR *t);
mode_t th_get_mode(TAR *t);
uid_t th_get_uid(TAR *t);
gid_t th_get_gid(TAR *t);
int th_get_crc(TAR *t);
off_t th_get_size(TAR *t);
time_t th_get_mtime(TAR *t);
major_t th_get_devmajor(TAR *t);
minor_t th_get_devminor(TAR *t);
int TH_ISREG(TAR *t);
int TH_ISLNK(TAR *t);
int TH_ISSYM(TAR *t);
int TH_ISCHR(TAR *t);
int TH_ISBLK(TAR *t);
int TH_ISDIR(TAR *t);
int TH_ISFIFO(TAR *t);
int TH_ISLONGNAME(TAR *t);
int TH_ISLONGLINK(TAR *t);
VERSION
This man page documents version 1.2 of libtar.
DESCRIPTION
The th_get_*() functions extract individual fields from the current tar header associated with the TAR handle t.
The TH_IS*() macros are used to evaluate what kind of file is pointed to by the current tar header associated with the TAR handle t.
The TH_ISLONGNAME() and TH_ISLONGLINK() macros evaluate whether or not the GNU extensions are used by the current tar header associated
with the TAR handle t. This is only relevant if the TAR_GNU option was used when tar_open() was called.
SEE ALSO
tar_open(3)
University of Illinois Jan 2001 th_get_pathname(3)