Sponsored Content
Full Discussion: Tape labels
Top Forums UNIX for Dummies Questions & Answers Tape labels Post 25191 by RTM on Thursday 25th of July 2002 09:50:27 PM
Old 07-25-2002
Not sure of what you are asking for.

Tapes have labels written to them. You don't see that with the mt command. If you are wondering what is on the tape, check out the man pages for tar, cpio, dd, and ufsrestore (do this one in interactive mode - then you can see what is on it without restoring). The hard part is finding out which format it was made with (if that is your problem).

If you are only trying to figure out what the tape device is, look at /dev/rmt. It will have a list of devices (some may be old and not work - one of the 'stupid' things in Solaris - put a tape drive on a server, remove it, put it back and it won't see it - you have to recreate it and it gives it a new id - there are ways around this but I've never seen too many folks blow away the old. It just stays there like an old VMS system).
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Creating mailing labels using gawk!

Hello, I've got another thread going in this forum section about calculating a particular field of data using a gawk script, but I need help on another issue. I need to create mailing labels using a gawk script on a data file that looks like this: Doe|John|12345 Main... (2 Replies)
Discussion started by: Trellot
2 Replies

2. Programming

Locally Declared Labels

Hi guys. in the Locally Declared Labels section in "The Definitive Guide to GCC" book there is block of code: #define SEARCH(array, target) ({ __label__ found; typeof (target) _SEARCH_target = (target); typeof (*(array)) *_SEARCH_array = (array); int i, j; int value;... (1 Reply)
Discussion started by: majid.merkava
1 Replies

3. UNIX for Dummies Questions & Answers

Labels in VI

Hi, Is there a concept of lables in vi editor. In mainframes ISPF editor there is a concept of labels where one can label a line say ".a" and after that wherever you are in the file, if one want to go back to that particular line where the label was set...he could do by "l .a"....Is there... (1 Reply)
Discussion started by: whoami191
1 Replies

4. Programming

Adding labels on the scatterplot with R

I would like to label points on a scatterplot. I used the following code. d1 <- structure(list(x1 = c(31.7858,25.8623,23.7758,30.1564,28.179,25.3966,31.5879,40.3233,28.8774,27.4434,37.6055,38.2847,40.5864,38.586,32.5489,38.2273,45.6876,52.3452,42.6654,49.8273), y1 =... (0 Replies)
Discussion started by: avina
0 Replies

5. Shell Programming and Scripting

Sum elements of 2 arrays excluding labels

I'm looking for an efficient way to sum elements from 2 arrays using AWK and preserve header as well as sample names in the output array. I have Ubuntu 16.04 LTS. For example; ARRAY 1 SAMPLE DERIVED ANCESTRAL Sample1 14352 0 Sample2 14352 0 Sample3 14352 0 Sample4 ... (8 Replies)
Discussion started by: Geneanalyst
8 Replies
All times are GMT -4. The time now is 12:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy