HP3000-L Archives

January 2000, Week 4

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:
Denys Beauchemin <[log in to unmask]>
Reply To:
Date:
Wed, 26 Jan 2000 10:35:00 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (122 lines)
To add to the excellent posting from Andreas.

I just did a quick test between my 9000 and my 3000.

On my 9000 (712 in 10.20)  I created a tar tape of a large distribution file of
our software.  I used the following command: tar -cv hibars2.tar

Since the tape drive is at /dev/rmt/0m, it happily stored the file on the tape.

I then took the tape and put it in the tape drive of my 3000.  This drive is
Ldev 7.

I got into the shell using the POSIX UDC command: sh.

I switched over to the /tmp directory:   cd /tmp

Finally I restore the file from the tape using the following command: tar -xvf
/dev/rmt7

Tar restored the file in the /tmp directory.  I did a tar -tvf to verify the
file could be read.  No problems.

There is one thing you will need to do and that is to set up a device file for
your tape drive in the MPE POSIX shell.  Use the following command:  mknod
/dev/rmt7 c 0 7    (where 7 is the ldev of your tape. )  You may want to do a
chmod on that file and the /dev directory to enable other users to have access
to it: chmod 777 /dev/rmt7.

You could also use ftp. :)

Good luck.


Kind regards,

Denys. . .

Denys Beauchemin
HICOMP
(800) 323-8863  (281) 288-7438         Fax: (281) 355-6879
denys at hicomp.com                             www.hicomp.com


-----Original Message-----
From:   Andreas Schmidt [SMTP:[log in to unmask]]
Sent:   Wednesday, January 26, 2000 8:02 AM
To:     [log in to unmask]
Subject:        Re: TAR AND THE POSIX SHELL

Frank,

posix runs within MPE/iX.

If you have set the UDC file (User defined command) HPPXUDC.PUB.SYS on a system
wide level via
:SETCATALOG HPPXUDC.PUB.SYS;SYSTEM;APPEND
all users with the system prompt can invoke posix vi
:SH
Make sure that it will "pop up" without any error messages but MPE/iX 6.0
should
have fixed some (well known) problems in setting the access rights for some HFS
directories within MPE system ...
No reboot is needed - the group HPBIN.SYS contains everything you'll need. The
links are in
/bin (visible via :LISTFILE /bin/@,2). Posix is integrated part of MPE (since
5.x) with no additional license fee. More information is avaiable on the web
http://docs.hp.com under Mpe documentation MPE shell and utilities Vol 1 and 2.

Basically, most of the "normal" Posix commands will work in posix shell on MPE
as expected.

The tar problem is basically not a tar problem but a restore problem. Normally
you should be able to do the needed actions as supposed but here I'm not the
expert - I didn't test such tape handling. But I'm sure that a tar'ed file on
HP-UX transferred via FTP to MPE (posix) can be extracted via the standard tar
xf option.

Best regards, Andreas Schmidt, CSC, Germany




[log in to unmask] on 26/01/2000 02:23:20 PM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Andreas Schmidt/GIS/CSC)
Subject:  TAR AND THE POSIX SHELL



Hi all,

I am new here, and new to the HP as well.  I have a few questions about what
I have seen here and what I have not been able to look up in the HP's online
doc CD ROM, so please bear with me.

The first question:  TAR - I know this is a Tape ARchive utility, I have a
tape that was made on an HP running UNIX that made the tape using TAR, It
contains a file I need to run a conversion with.  I am running on an HP3000
929-020, MPE/ix Ver 6.0 with Power Patch 1.   All I can find on the CD-ROM
is how to check to see if TAR has been set up with your tape drive.  This I
was able to do and it is, and that is all I can find, in the same blurb it
was stated it was part of POSIX.  I have the commands used to create the
tape, and I managed to find a UNIX for dummies book at work that explains
the options for extracting the file, but I'm not sure where it will extract
it to, and if I will need to do another conversion called FROMBYTE, to be
able to work with the file.  The file is an ASCII file.

The second question: POSIX - Is this a shell that runs over MPE/IX?  Can it
be invoked on a user by user basis, or is it system wide and requires a
reboot?  How do I tell if it is available on our system to run?  Does it
require an additional license to run?  Where can I find more information on
it, or once it starts, is online help available, and if so how is it?

Thanks in advance for all responses.

Frank Girard
J. Baker Inc.
[log in to unmask]

ATOM RSS1 RSS2