LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   hardware device path (https://www.linuxquestions.org/questions/linux-general-1/hardware-device-path-38829/)

juno 12-18-2002 09:57 PM

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.

Mik 12-19-2002 03:36 AM

I don't think there is a specific command for that. But 'dmesg | less' should show you most of the information.

trickykid 12-19-2002 03:39 AM

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.


All times are GMT -5. The time now is 08:44 PM.