[comp.sys.hp] HPUX 6.0 to Integral Disk doesn't work anymore.. help!

donn@hpfcdc.HP.COM (Donn Terry) (09/03/88)

See the "bif" utilities.  Start with bif(4) and then the commands
it points to.  These utilities give you full access to the 2.x/IPC
filesystem.

Donn Terry

ken@hpclkms.HP.COM (Kenneth Sumrall) (09/05/88)

/ hpclkms:comp.sys.hp / jack@csccat.UUCP (Jack Hudler) / 11:06 pm  Sep  1, 1988 /

>	I just upgraded to HPUX 6.0 an tonight discovered that
>	I can no longer mount discs created on the integral 5.0 on
>	6.0 or vica-versa. I get the magic number in super-block
>	error. Is there some way the I can still do this?
>	I have tried newfs /dev/.. hp9122_F0 but this does not
>	work on the Integral. I have files that I store on the
>	big machine to copy to the Integral when customers order
>	theses file, I am now no longer able to support my
>	customers.
>
>					Jack Hudler
>					jack@csccat
>----------
No problem.  I transfer files all the time between my 9000/320 running
HP-UX 6.01B, and my IPC running 5.0.  The problem is the the IPC is running
the ATT file format, and 6.0 runs the Berkely file format.  HP did provide
a set of BIF (Bell Interchange Format) utilities to read and write disks 
formatted in the older format.  These utilities don't let you mount IPC disks,
but let you copy files from them to your workstation, and vice-versa.
Since this all sounds cryptic as I read what I just wrote, an example seems
in order.

My floppy drive on my 320 has a device file named /dev/rmd.0 and I want to read
a file named 'foo' from a disk that was made on the IPC.  So, I pop the disk in
the drive, and type:
     bifcp /dev/rmd.0:foo /tmp/foo
That will copy the file foo to the directory tmp on the 6.0 system.

You must be careful with wild carding when you copy from the IPC disk to the
6.0 UX.  Since wild card expansion is done by the shell, you can't use 
wildcards in the specification of a file on the IPC disk, and the bif utilities
don't expand wildcards on their own either.  

Also, if you use bifmkfs to make a bif file system on the 6.0 UX system, it
will not have a disk name when you pop it into the IPC.  The only way I know
of to give it a name is use the IPC uility to name disks.

In case you didn't catch my naming convention on device files, the device file
should be a raw (character) file.

Of course, I am not an official voice on this subject.  The bif utilities are
each described in sections 1 and 1M of the hp-ux manuals, and I believe also in
section 4 (file formats?) 

Good luck.

Kenneth Sumrall
California Language Labs
ken%hpclkms@hplabs.hp.com
...!hplabs!hpclkms!ken

mbk@hpsemc.HP.COM (Miles Kehoe) (09/17/88)

Some people never know when to keep their old op sys! 

Hi jack! How ya doing?  Drop me a note or call: 408-725-3826
at work.  Saw Mike a few weeks ago.  Seems to be enjoying his new home.

Talk to you soon...

Miles