Download your favorite Linux distribution at LQ ISO.
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 08-29-2008, 10:38 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
device path

In my RH system that have a external tape device attached , I use dmesg could find it , but I the path st0 , sg0 is not present in my system , can advise what is its device path ( eg. /dev/??? )

#dmesg |grep tape
Attached scsi tape st0 at scsi1, channel 0, id 5, lun 0

#ls /dev/st0
ls: /dev/st0: No such file or directory

ls /dev/sg0
ls: /dev/st0: No such file or directory
Old 08-29-2008, 10:49 PM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Rechecking I see you can't see it in ls... I might suggest it's done something deceptive and mounted it as a sdx where x could be a letter, see if any of the sd's in /dev/ aren't actually currently mounted.

Quick one... why does it say no /dev/st0 for the /dev/sg0 list?

Last edited by r3sistance; 08-29-2008 at 10:57 PM.
Old 08-30-2008, 12:27 AM   #3
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
I am not really familiar with tape drives.

However I know about usb drives.

Have you tried?
sudo fdisk -l
That should list all of the devices.

Determine which device is the tape drive device.

sudo mkdir /tape
mount /dev/"tape device" /tape
You then should be able to access your tape drive through /tape

Hope this works


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
Full Path of Oss sound device BACTRATE Ubuntu 2 04-29-2008 12:44 PM
HP-UX ioscan CDROM device path gctaylor1 Other *NIX 3 11-08-2007 09:11 AM
device path for external device ust Linux - General 4 11-22-2004 08:57 AM
hardware device path juno Linux - General 2 12-19-2002 02:39 AM
hardware device path juno Linux - Hardware 3 11-04-2002 08:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 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