From: gurman@uvsp.gsfc.nasa.gov (Joseph B. Gurman)
Subject: Re: Info needed: s/w and h/w for duplicating DAT
Date: 1995/08/21 [thread overview]
Message-ID: <gurman-2108952208360001@goodgulf.gsfc.nasa.gov> (raw)
In-Reply-To: 417pdu$gbm@fohnix.metronet.com
In article <417pdu$gbm@fohnix.metronet.com>, tom@fohnix.metronet.com (Tom
Griffing) wrote:
> In article <411taq$js4@eng_ser1.erg.cuhk.hk>,
> S.T. Wong <st@hp735c.csc.cuhk.hk> wrote:
> >Hi, there,
> >
> >I would like to know if there's any software (with hardware) for duplicating
> >DAT (and other types of tape) regardless of the format of data on the media.
> >Would anyone pls advise ? Pls send your advice by email
(st-wong@cuhk.edu.hk).
>
> How about:
>
> $ dd if=/dev/rmt0 bs=1024b | dd of=/dev/rmt1 bs=1024b
>
> This will duplicate the first archive on the tape. To duplicate
> all possible archives, you'll have to put it into a script with
> a while loop and use the no-rewind device. Something like:
>
> while [ 1 ]
> do
> dd if=/dev/rmt0.1 bs=1024b | dd of=/dev/rmt1.1 bs=1024b
> done
>
> If you don't have a second tape drive, you'll have to use an
> intermediate file, but you may need as much disk space as the
> size of your tape, though.
>
> If you use GNU tar, you can write it to a tape drive on a remote
> machine like so:
>
> while [ 1 ]
> do
> dd if=/dev/rmt0.1 bs=1024b | dd of=RemoteHost:/dev/rmt0.1 bs=1024b
> done
But.... what if the tape was written with bs != 1024, and he wants a
real copy of the orignal tape?
Joe Gurman
--
Joseph B. Gurman / NASA Goddard Space Flight Center/ Solar Data Analysis Center / Code 682 / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions while at work. Any opinions expressed herein must therefore be someone else's. |
next prev parent reply other threads:[~1995-08-21 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-08-18 4:00 Info needed: s/w and h/w for duplicating DAT S.T. Wong
1995-08-20 4:00 ` Tom Griffing
1995-08-21 4:00 ` Joseph B. Gurman [this message]
1995-08-25 4:00 ` JP
1995-08-23 4:00 ` Wolfgang Denk
1995-08-26 4:00 ` Rob McMahon
1995-08-20 4:00 ` Info needed: s/w and h/w for duplicating JCarr37863
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox