Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dds-dd(1) [debian man page]

dds-dd(1)						      General Commands Manual							 dds-dd(1)

NAME
dds-dd - tool to read a dds device. SYNOPSIS
dds-dd [ -f device ] DESCRIPTION
dds-dd reads a dds tape devices (DAT). Every block is read and written to stdout. A tape with unknown block size or blocks of different size can be read. The default device is /dev/rmt0, which may be overridden with the environment variable TAPE, which in turn may be overridden with the -f device option. The device must be a character special file. OPTIONS
-f device Device of the tape archive (default is /dev/rmt0). Must be a character special file connected to a dds tape device. -V,--version Print the version number of mt-dds to stderr and exit immediately. --help print some screens of online help with examples through a pager and exit immediately. EXAMPLES
Example: Read the tape and make a listing: dds-dd | tar ft - Example: Read the tape and make a listing: dds-dd | cpio -it ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/rmt0. SEE ALSO dds2tar(1), dds2index(1), mt(1), tar(1) HISTORY
This program was created to use it in conjunction with dds2tar. AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo 2.4 dds-dd(1)

Check Out this Related Man Page

MT(1)							      General Commands Manual							     MT(1)

NAME
mt - magnetic tape manipulating program SYNOPSIS
mt [ -f tapename ] command [ count ] DESCRIPTION
Mt is used to give commands to a magnetic tape drive. If a tape name is not specified, the environment variable TAPE is used; if TAPE does not exist, mt uses the device /dev/rmt12. Note that tapename must reference a raw (not block) tape device. By default mt performs the requested operation once. Operations may be performed multiple times by specifying count. The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. eof, weof Write count end-of-file marks at the current position on the tape. fsf Forward space count files. fsr Forward space count records. bsf Back space count files. bsr Back space count records. rewind Rewind the tape (Count is ignored). offline, rewoffl Rewind the tape and place the tape unit off-line (Count is ignored). status Print status information about the tape unit. cacheon Enable the readahead/writebehind cache on the tape unit. cacheoff Turn off the readahead/writebehind cache on the tape unit. Mt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed. The cacheon and cacheoff commands currently only apply to the TMSCP driver and then only for certain drives such as the TU81+. No error is produced by the TMSCP driver if the cache commands are used. Other drivers will return an error code since they do not recognize the MTCACHE and MTNOCACHE functions codes. See mtio(4). FILES
/dev/rmt* Raw magnetic tape interface SEE ALSO
mtio(4), tmscp(4), dd(1), ioctl(2), environ(7) 4th Berkeley Distribution December 22, 1995 MT(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Archival Tool for UNIX

Hi All, Need to get the information if there is any tool on Unix for Archiving and retrival of documents automatically. Having the capbalilty to integrate with other systems. And provide the APIs which can be called from other Systems to facilitate automatic Archival and Retrieval. Thanks &... (7 Replies)
Discussion started by: sanjeev0915
7 Replies

2. UNIX for Dummies Questions & Answers

how to read a tape?

Dear all, I have searched the topics and have not found an answer to my problem. I wish to view the content of a backup-tape. I use the command cpio with the following parameters: -itcB and to round it all of: < /dev/rmt/0cbn for the tape. cpio -itcB < /dev/rmt/0cbn Result: cpio: I/O error... (8 Replies)
Discussion started by: yeudba
8 Replies

3. UNIX for Dummies Questions & Answers

reading from tape error

I have been attempting to read a DLT tape, but encountered problems. I have applied patches from SUN that 'resolve' known problems with tape reading etc...but still the error! Techsupport reckon that the data/tape is corrupt. I would like to think they aren't. Are there any issues with... (10 Replies)
Discussion started by: colesy
10 Replies

4. UNIX for Dummies Questions & Answers

View tape Info?

Does anyone know the UNIX command to view and/or erase data that is on an 8-track tape? Thanks for your help! Linda (13 Replies)
Discussion started by: lfulton
13 Replies

5. UNIX for Advanced & Expert Users

tar pb?

my question is about HP-UX 10.2 i have a system backup by tar cmd ( in a tape) when restoring ( by this cmd: tar xv / ) , i found that some files and directories existing in the tape are not extracted (ex: like /usr/lbin) but when specfiying the directory (ex: tar xv /usr/lbin ), it will... (9 Replies)
Discussion started by: nabil_boussetta
9 Replies

6. UNIX for Dummies Questions & Answers

Is it possible to ufsdump to a file instead of a tape device?

Eh... what the title says. :) (8 Replies)
Discussion started by: PSC
8 Replies

7. UNIX for Dummies Questions & Answers

Blocksize problem restoring file from tape

I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize. The part of the script that does the tar looks like this: tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies

8. UNIX for Dummies Questions & Answers

Help with TAR

Hi, I tarred some files off to a tape. I'm trying to restore them now. Am I missing a step? 1) I rewind the tape. 2) I did a tar -tvf and saw the file on the tape. 3) I do a tar -xvf <file_name> that was shown from the tar -tvf Is this all I need to do to restore the file? Just trying... (6 Replies)
Discussion started by: FredSmith
6 Replies

9. SCO

Transfer files wih directory structure.

I need to transfer software off a SCO OpenServer 5.0.5 server. I can not seem to read this server's tape on my other server since the tape drive (IBM Gen 5 DAT 72GB) will continuosly "eject" this DAT 8 tape. I have been able to 'tarball' most of the smaller directories with success and... (11 Replies)
Discussion started by: uxlunatick
11 Replies

10. UNIX for Dummies Questions & Answers

How to extract multiple files from tape

Hello everyone, I am having difficulties restoring data from a tape and I was hoping someone could help me. Here it goes. Whenever I type tar -xvf /dev/nst0, only the first file on the tape is restored which means that in the particular tape there are multiple tar files. Can someone please... (10 Replies)
Discussion started by: goude
10 Replies

11. SCO

Complete backup of system spanning all filesystems

how would a make a complete backup of all files spanning all file systems on my SCO box to tape? i read somewhere: find . -print | cpio -ocv > /dev/rStp0 from / ... will this do it?? (yes /dev/rStp0 is my tape drive) (11 Replies)
Discussion started by: herot
11 Replies

12. UNIX for Advanced & Expert Users

tar to tape drive command

I want to use this command to tar to tape: tar cf - DIR | compress > `hostname`_`date +%m-%d-%y`.DIR.tar.Z this of course goes to the FS. How do I modify this to go directly to tape? My tape device is /dev/rmt/0 thanks. Having so many posts you should be familiar using code tags.... (7 Replies)
Discussion started by: djehresmann
7 Replies

13. Shell Programming and Scripting

validate tar file on tape

I've got a KSH/AIX question that I haven't been able to figure out yet. I've got a tape archive program that "tar's" data to a tape. After creating the archive, I'd like to somehow verify that the tape is actually good. So, what I'd like to do as a simple "sanity" check that I can read the tape... (9 Replies)
Discussion started by: dernsdorff
9 Replies

14. UNIX and Linux Applications

No alarm triggered when backup tape is full

Hi folks, i encountered an issue, no alarm is triggered when the tape is full on the Solaris server. The tape is 72GB. There is an alarm generating shell script in the server, which will trigger an alarm when it detects the tape is full. Hence, I will receive SMS and email alerts. This has been... (10 Replies)
Discussion started by: kimurayuki
10 Replies

15. HP-UX

TAPE drive

I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help? Thanks in advance (10 Replies)
Discussion started by: Randydog
10 Replies