LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-18-2002, 09:57 PM   #1
juno
Member
 
Registered: Sep 2002
Location: fdas
Posts: 100

Rep: Reputation: 15
hardware device path


How can I know the hardware device path eg. CDROM , tape, external device, I use ¡§ioscan¡¨ in UNIX, what is the command in Linux ? Thx.
 
Old 12-19-2002, 03:36 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
I don't think there is a specific command for that. But 'dmesg | less' should show you most of the information.
 
Old 12-19-2002, 03:39 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 255Reputation: 255Reputation: 255
fdisk -l will show you your hard drive and partitions on them.

or even a cat /proc/mounts

Usually other devices such as cdroms or floppys, cdrom is just going to be like /dev/hdc if its the master on the secondary IDE channel, hdd if its the slave.. and so on. If you have a floppy drive, its usually /dev/fd0

Also to add you can always look at your /etc/fstab for some devices as well.

Last edited by trickykid; 12-19-2002 at 03:41 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware Raid 5 device files ray_h Linux - Hardware 2 04-16-2005 05:31 PM
device path for external device ust Linux - General 4 11-22-2004 09:57 AM
which device for which hardware boggins Linux - Software 1 10-21-2004 09:38 AM
Hardware Device List mackie_lin Linux - Hardware 6 11-26-2002 05:25 PM
hardware device path juno Linux - Hardware 3 11-04-2002 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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