LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2011, 01:14 PM   #1
KarenEni
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
tar -tvf comman bring up input/output errror


I am attempting to list files off of a LT0 magnetic tape. I use the command tar tvf /dev/dev# . All I get in return in an input/output error message. Does anyone have any suggestions?
Thank you!
Karen
 
Old 07-06-2011, 01:59 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
First i should metion that there is no reason to backup /dev. The files in /dev are device files with no usable content. They are created depebding on the devicees installed during boot.

Also you should you the syntax
Code:
tar cvf /dev/nst0 $filespecification
to find a file on your tape. The parameter "f"define the device or the tar file which you are trying to get the table of content from.
 
  


Reply

Tags
error, input, output, tape, tar



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tar Input/Output Error TVFilm73 Linux - Software 1 11-23-2010 04:44 PM
Tape command Redhat es 3 $ tar tvf /dev/st0 is not working. ssinha Linux - Newbie 2 03-18-2010 05:25 AM
Tar -tvf command causes system hang kaplan71 Red Hat 4 11-10-2006 07:46 AM
nfsd Input/output errror anon099 Slackware 2 12-13-2002 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration