Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-19-2002, 01:05 PM   #1
LQ Newbie
Registered: Jan 2002
Location: Sterling Heights, MI
Distribution: Mainly Ubuntu, Gentoo, RedHat
Posts: 27

Rep: Reputation: 15
Question alias /dev/st0?

Is there a way to alias /dev/st0 to point to a file rather than go out looking for a SCSI tape? You may have guessed I am trying to emulate a tape to test some software. Or not.


Old 04-19-2002, 01:17 PM   #2
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
I suppose you could rm/mv the file and either symlink it to an existing file or just create a text file in its place.

If anything goes wrong, just use MAKEDEV to re-make the device entry (or do it yourself with mknod if you know the major/minor nos )


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
st0: Error with sense data krish87 Debian 0 08-18-2004 01:46 PM
no /dev/st0 for scsi tape on RH8.0 dkinzer Linux - Hardware 9 01-20-2004 03:30 PM
qmail: setting up alias to go to /dev/null? m3kgt Linux - Software 4 11-18-2003 03:50 PM
various /dev/(n)st0? devices coreyw Linux - Hardware 1 11-03-2003 05:53 PM
SCSI tape device detected but no response on st0 tungaw2001 Linux - Hardware 0 08-13-2003 01:15 AM

All times are GMT -5. The time now is 07:20 PM.

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