home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!dog.ee.lbl.gov!na35.lbl.gov!jschamba
- From: jschamba@na35.lbl.gov (Jo Schambach)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Remote tape device write/read?
- Date: 31 Jul 1992 15:34:49 GMT
- Organization: Lawrence Berkeley Laboratory, Berkeley CA
- Lines: 71
- Distribution: world
- Message-ID: <25104@dog.ee.lbl.gov>
- References: <25064@dog.ee.lbl.gov>
- NNTP-Posting-Host: 128.3.252.87
-
- In article <25064@dog.ee.lbl.gov>, jschamba@na35.lbl.gov (Jo Schambach) writes:
- |> Is it possible to read/write from/to a tape device on a remote computer? If yes,
- |> how? I saw the man page on "rmt", but didn't understand how this would help.
- |>
- |> Jo
- |> --
- |>
- |> **************************************************************
- |> Joachim Schambach
- |> Mailstop 50D
- |> Lawrence Berkeley Labs
- |> Berkeley, CA 94720, USA
- |>
- |> email: JJSchambach@lbl.gov or JJSchambach@lbl.bitnet
- |> Tel: x1-(510) 486-6349
- |> --------------------------------------------------------------
- |> 2 + 2 = 3, for suitably small values of 2
- |> **************************************************************
- |>
-
- --
- Thank you for all the responses so far. The answers mostly referred me to
- "rdump" and company. I guess I didn't ask the question right.
- What I would like to do, is from a C program I would like to say:
-
- fd = open("remote_host:/dev/rst0, RW);
- read(fd, ...);
- write(fd,...);
-
- is that possible?
- Thank you very much to: Bill Thomason <wbt@rex.cs.tulane.edu>,
- rjq@phys.ksu.edu (Rob Quinn),
- mikey@netcom.com (Mike Pechner).
-
- Their answers were:
- ----------------------------------------------------------------
- Look at the tar man page for examples.
-
-
- EX.
-
- #write to a remote tape drive
- tar cvfb - 20 <files> | rsh hostname dd of=/dev/rst0 obs=20b
-
- # read from a remote tape drive.
- rsh hosname if=/dev/rst0 ibs=20b | tar xvfb - 20 < specification>
- ------------------------------------------------------------------
- An easy way is to use dump and restore with remotehost:/dev/tape... as
- the tape name.
-
- --------------------------------------------------------------------
- look at rdump and rrestore
-
-
- --
-
-
-
-
- **************************************************************
- Joachim Schambach
- Mailstop 50D
- Lawrence Berkeley Labs
- Berkeley, CA 94720, USA
-
- email: JJSchambach@lbl.gov or JJSchambach@lbl.bitnet
- Tel: x1-(510) 486-6349
- --------------------------------------------------------------
- 2 + 2 = 3, for suitably small values of 2
- **************************************************************
-
-