LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-06-2003, 07:01 AM   #1
kvishwanath
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
shell scripting for tape drives


the following command works fine on Linux Redhat 8.0
dd if=/dev/st0 of=<filename> bs=8192 conv=sync
However when i tried it on Mandrake 9.1 it does'nt seem to read the records from the tape drive.Can somebody help please.
 
Old 10-06-2003, 09:48 AM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
maybe /dev/st0 is not the backup tape device on your mandrake box.
 
Old 10-06-2003, 11:31 PM   #3
kvishwanath
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
/dev/st0 is well recognized and responds to
mt -f /dev/st0 rewind
it also reads the records but only the first two.However the command
mt -f /dev/st0 eod
followed by
mt -f /dev/st0 status
does'nt show that the tape has moved forward.
 
  


Reply



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
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
tape drives Radio_fishlips Fedora 6 11-02-2005 04:02 PM
shell interface vs shell scripting? I'm confused jcchenz Linux - Software 1 10-26-2005 03:32 PM
RHEL 3 and Tape drives synpse Linux - Enterprise 2 05-04-2004 02:09 PM
Tape Drives jercs02 Linux - Hardware 0 01-21-2003 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:14 AM.

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