?
Solved

Redhat Linux Tar and Solaris

Posted on 1997-08-18
5
Medium Priority
?
520 Views
Last Modified: 2013-12-05
Is it possible to read a tape created in solaris 5.1 in
redhat linux for Sparcs. I can untar tapes created in Linux
under solaris but cannot do the reverse. I'm using a sparc 5
running solaris 5.1 and redhat linux with a exabyte tape drive
0
Comment
Question by:RipCurl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1626597
Should work. Use a fixed block size, for example:
tar cbf 126 ...
tar xbf 126 ...
0
 

Author Comment

by:RipCurl
ID: 1626598
That answers part of my question.   I receive tapes from several offsight locations very often.   I do not know the Block size they use when the make the tapes, and I'm pretty sure they don't either.   I would like to find a way to do it with out using pre-determined block sizes.     Thanks for your answer.  If you no one can answer this question better, then I will give you the points.   Thanks

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1626599
You are lucky that Linux is you platform wich causes the problem.
So, if you have gtar (linux named tar, test with: tar --version), following options can help you: -B -i -o -R (see man for details).
If there is no GNU tar (gtar), I only know of an -e option which may help.
0
 
LVL 1

Accepted Solution

by:
jantypas earned 300 total points
ID: 1626600
You're running Solaris 5.1???  You brave soul...

We've found the easiest thing to do was compile our pax utility onto Solaris from Linux.  Works like a charm.
0
 

Author Comment

by:RipCurl
ID: 1626601
Thanks for the info
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question