LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-29-2008, 11:38 PM   #1
ust
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, 11:49 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
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 11:57 PM.
 
Old 08-30-2008, 01:27 AM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

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

However I know about usb drives.

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

Determine which device is the tape drive device.

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

Hope this works
 
  


Reply


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 01:44 PM
HP-UX ioscan CDROM device path gctaylor1 Other *NIX 3 11-08-2007 10:11 AM
device path for external device ust Linux - General 4 11-22-2004 09:57 AM
hardware device path juno Linux - General 2 12-19-2002 03:39 AM
hardware device path juno Linux - Hardware 3 11-04-2002 09:05 PM


All times are GMT -5. The time now is 04:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration