TP(5) File Formats Manual TP(5)NAME
tp - DEC/mag tape formats
DESCRIPTION
Tp dumps files to and extracts files from DECtape and magtape. The formats of these tapes are the same except that magtapes have larger
directories.
Block zero contains a copy of a stand-alone bootstrap program. See reboot(8).
Blocks 1 through 24 for DECtape (1 through 62 for magtape) contain a directory of the tape. There are 192 (resp. 496) entries in the
directory; 8 entries per block; 64 bytes per entry. Each entry has the following format:
struct {
char pathname[32];
unsigned short mode;
char uid;
char gid;
char unused1;
char size[3];
long modtime;
unsigned short tapeaddr;
char unused2[16];
unsigned short checksum;
};
The path name entry is the path name of the file when put on the tape. If the pathname starts with a zero word, the entry is empty. It is
at most 32 bytes long and ends in a null byte. Mode, uid, gid, size and time modified are the same as described under i-nodes (see file
system fs(5)). The tape address is the tape block number of the start of the contents of the file. Every file starts on a block boundary.
The file occupies (size+511)/512 blocks of continuous tape. The checksum entry has a value such that the sum of the 32 words of the direc-
tory entry is zero.
Blocks above 25 (resp. 63) are available for file storage.
A fake entry has a size of zero.
SEE ALSO fs(5), tp(1)BUGS
The pathname, uid, gid, and size fields are too small.
7th Edition May 15, 1985 TP(5)
Check Out this Related Man Page
TP(5) File Formats Manual TP(5)NAME
tp - DEC/mag tape formats
DESCRIPTION
The command tp dumps files to and extracts files from DECtape and magtape. The formats of these tapes are the same except that magtapes
have larger directories.
Block zero contains a copy of a stand-alone bootstrap program. See bproc(8).
Blocks 1 through 24 for DECtape (1 through 62 for magtape) contain a directory of the tape. There are 192 (resp. 496) entries in the
directory; 8 entries per block; 64 bytes per entry. Each entry has the following format:
struct {
char pathname[32];
int mode;
char uid;
char gid;
char unused1;
char size[3];
long modtime;
int tapeaddr;
char unused2[16];
int checksum;
};
The path name entry is the path name of the file when put on the tape. If the pathname starts with a zero word, the entry is empty. It is
at most 32 bytes long and ends in a null byte. Mode, uid, gid, size and time modified are the same as described under i-nodes (see file
system filsys(5)). The tape address is the tape block number of the start of the contents of the file. Every file starts on a block
boundary. The file occupies (size+511)/512 blocks of continuous tape. The checksum entry has a value such that the sum of the 32 words of
the directory entry is zero.
Blocks above 25 (resp. 63) are available for file storage.
A fake entry has a size of zero.
SEE ALSO filsys(5), tp(1)BUGS
The pathname, uid, gid, and size fields are too small.
TP(5)
Hi,
Can somebody PLEASE help me.
Suppose I want to find a file which has largest no of bytes in a particular directory, How do i do that.
ls -s will give the size of Blocks.
But I want the largest sized file and in bytes or KB OR MB.
tHANKS IN advanvce.
Bye
Rooh
:( (1 Reply)
I have a file called feed_file. Every week, I would like to copy this file
to tape. I would not like the file on this tape to be over written with
the previous weeks file. So what I would prefer to do is to add time stamp
at the end of each weeks file on the tape in order for the files to look... (1 Reply)
Is there a method to see how much data is put on a tape? Or to check and see the size of what you are tarring to tape? I have a script that checks a partition and user's directories and excludes anything under a home/test directory and writes that to a text file, then I call tar and using that... (1 Reply)
hello
I have a save cartridge (backup) but i don't known what block size has been used with this cartridge.
how can i find the block size of this cartridge to restore it ?
thank you (2 Replies)
Discussion started by: pascalbout
2 Replies
5. Post Here to Contact Site Administrators and Moderators
An ultrium 2 tape was sent to our site to extract the data.
The problem is that they did not send instructions on how it was backed up, block size, etc.
Since then I found out that they used the DD command.
I tried running the following but it extracted only 3 lines worth of data.
It appears... (1 Reply)
Can anyone tell me how to read and change the tape block size attached to a ultrium 2 (Faststor-2 tapedrive). I am using Redhat Linux AS 3.0 Update 7. :cool:
I had a problem doing a recover with our backup software which is AS 3.0 Update 7. The message I received was:
Failed to read 65536... (1 Reply)
hi
Why cannot format the tape ?
eft_ar_format << shell script this file correct Iam sure
but cannot format the tape :mad:
Why ?
and What is mean " $? " in shell script ?
for example :
if
then
.
. (1 Reply)
Hi ,
I want to list all files in the order of size . Just want to know which files occupies more size and which occupies less size .
Is it possible with ls command ? :)
Thanks,
Arun. (1 Reply)
Hi anyone can help.how can i get all second column data in this log below??
x 799002577959.pdf, 25728 bytes, 51 tape blocks
x 800002357216.pdf, 25728 bytes, 51 tape blocks
x aadb090910.txt, 80424 bytes, 158 tape blocks
x tsese090909.txt, 13974 bytes, 28 tape blocks (4 Replies)
I cannot tar an ORACLE backup file with the size of > 8GB. So I am using "dd" to copy file to tape. What is the optimum block size for this process? (2 Replies)
I'm on SCO 5.07. Just installed mini tape. Getting CMOS/GPNV checksum error when I turn on the machine and have to go into bios. I just hit f10 and I continue. When loading SCO and it get to the mini tape I get Warning: SCSI boot options ignored: Bad paremeter count. It's a QIC 80.
When in bios if... (2 Replies)
Hi,
I have a file containing multiple entries. Each block starts with <BEGIN and ends with <END. Sample data is given below
<BEGIN
IMSI=095001202630;
MSISDN=00145132916;
DEFCALL=TS11;
CURRENTNAM=BOTH;
CAT=COMMON;
TBS=TS11&TS12&TS21&TS22;
CARDTYPE=SIM;
... (2 Replies)
Hello together,
I have a question for you. Since a few weeks I am trying to programm
a small bruteforce application in C on Ubuntu 14.04.1 using Code::Blocks
with gcc-4.8.2. My programm is nothing special. It's just for practise,
Without hashing or something like that. For me the focus is on... (11 Replies)