HP3000-L Archives

March 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Tue, 5 Mar 2002 11:03:07 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
John Burke wrote:
 > I've got a tape that was written on a non-MPE system using tar. I want to try
 >  to find out what is on it. How would I specify the command? The man page is
 >  not much help when it comes to specifying a tape drive on MPE. Assume for this
 >  example that the tape drive is ldev 40.

 From the Shell & Utilities Manual, Appendix A, MPE/iX Implementation
Considerations:

-----begin-----
Direct Device Input/Output

MPE/iX supports device link files. As a result, you can use utilities like tar
and pax to read and write
tapes directly. Use the mknod command to create a device link to the desired
device destination. For
example,

        :MKNOD "/dev/TAPE7 c 0 7"

creates the device link file /dev/TAPE7. Now you can use the command

        tar -xvf /dev/TAPE7

in the shell.
-----end-----

Instead of tar xvf, which actually extracts all of the files on the tape, you
would want to use tvf to just see a listing of what's on the tape.
--
[log in to unmask]
Remainder of .sig suppressed to conserve expensive California electrons...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2