1832764 Members
3036 Online
110045 Solutions
New Discussion

tar file

 
SOLVED
Go to solution
Ron Irving
Trusted Contributor

tar file

I have a floppy, formatted for SCO Unix, with a tar file on it. Is there a way to mount this on HP-UX, and retreive the tar?

thanx!!

Ron
Should have been an astronaut.
8 REPLIES 8
sreekanthtm
Trusted Contributor

Re: tar file

Insert the flopy in to ur HPUX server
mount the flopy drive
#mount /dev/ /flopy

Where /flopy is the mount point. You have to create the directory before mounting.

#ls /flopy
For verify
#cp /flopy/*.tar /tmp/
Will copy all the tar file to /tmp dir.
Patrick Wallek
Honored Contributor
Solution

Re: tar file

>>Insert the flopy in to ur HPUX server

This could prove difficult as I don't know many HP-UX servers any more that actually have a floppy drive.

The other thing is the mount may prove difficult if you don't know exactly what file system the floppy was formatted with. Was it something like HFS? Or was it something generic like FAT?

Have you tried just putting this floppy in a PC to see if the PC can read it?

***Make sure you move the write-protect tab so the floppy is seen as read-only.***
Ron Irving
Trusted Contributor

Re: tar file

Hi!!

I did try to pop this into my pc, (laptop,) but it didn't see anything. You are of course right about the floppy drive...we don't have on on our rp's.

I have a workstation running linux...is there any way to do it from there?

I have a feeling that only SCO will be able to read this. Sigh.

thanx again
Should have been an astronaut.
Patrick Wallek
Honored Contributor

Re: tar file

You could try it on linux. It might work. The linux mount is actually pretty smart about figuring out filesystem types.

Pete Randall
Outstanding Contributor

Re: tar file

I've got a floppy drive on one of my HP-UX workstations. If you get really desperate, send me the floppy and I'll see what we can come up with.


Pete

Pete
Ron Irving
Trusted Contributor

Re: tar file

Thanks Pete!!

I don't think it's that critical. It's just some lesson files on a scripting course I took last week.

Thanks again!!

Ron
Should have been an astronaut.
Heironimus
Honored Contributor

Re: tar file

How was the tar file put on the floppy? If it was just written directly to the device you don't need to mount anything, you can probably just stick it in your Linux machine and dd or tar from the appropriate /dev/fd* device.

If it has a filesystem you might still be able to mount it on Linux with "-t auto" to have it try everything it knows about. I don't think SCO ever supported too many filesystem types, and most of them are extremely unlikely to be used on a floppy.
Ron Irving
Trusted Contributor

Re: tar file

Ha!! I figured it out!!

# strings /dev/floppy > floppy.out

It was just a few scripts on there, so now I have to write a script to divide it up into it's original files.

If I could give myself a point, I would.

Thanks for all of your suggestions!!!
Should have been an astronaut.