LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-25-2006, 09:21 PM   #1
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Rep: Reputation: 32
How to locate devices using File Browser


I am trying to find devices in /dev. but clearly don't understand something.

Using the Device Manager, I find the hard drive listed and looking at the advanced tab:
under Key, it shows block.device and under Value, it shows /dev/hda.

But when I go to /dev using the File Browser, hda shows up with a red X in front of it and properties shows:

Type: x-special/device-block
Size: 0 Bytes
Location: /dev
MIME type: -special/device-block

Why the apparent inconsistency and how can I see the hard drive in the file browser?
 
Old 12-25-2006, 09:24 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The files in /dev/ are special device files.

Compare
file /dev/hda
with
file -s /dev/hda
 
Old 12-25-2006, 09:52 PM   #3
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Thank you for this, but I don't understand. I am trying to learn how to physically locate the various devices, such as hard drive, cdrom/rw, dvdrom/rw, usb, etc so that when I try to install a new device, I can find it, then mount it.

I started with a device that I knew was working and that shows up in the Device Manager, then tried to find it. So is the hda in /dev the hard disk or does it refer to something else? Why the red X?
 
Old 12-26-2006, 12:47 PM   #4
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
I installed a DVD-RW but it doesn't show in device manager and I don't seem to be able to find it in order to mount it.

Can anyone assist me with this?
 
Old 12-26-2006, 05:39 PM   #5
newmo
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
Try this

Quote:
dmesg | grep CD


Type it in the console, The output should tell you what dev/ item is what dvd/cd drive

Mine for example is

Quote:
desktop:~$ dmesg | grep CD
[17179575.508000] hdc: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
[17179576.292000] hdd: SONY DVD RW DW-Q30A, ATAPI CD/DVD-ROM drive
[17179576.524000] Uniform CD-ROM driver Revision: 3.20
[17179576.532000] hdd: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)
So my dvd-rw is hdd

If its not there it's not being recognised when you boot up as far as I can tell.

I know nothing about this - I got it from here

http://www.linuxforums.org/forum/sla...ease-help.html
 
Old 12-26-2006, 06:23 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Depending on your distro, you may get mount points set up automatically. If so , they will be in either /mnt or maybe /media

Also, check to see what is actually mounted by doing: cat /etc/mtab

Tell us what distro for better answers...
 
Old 12-27-2006, 07:39 PM   #7
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Angry

Apology for the absence, but lots of in-laws and out-laws in town.

dmesg | grep CD yields no output whatsoever, with and without sudo.

The only thing showing in /mnt is a Windoze partition.

/media shows hda and hdc with an arrow slanting downward to the right (link?), ide0, ide1, and drivers. Properties for each shows:

for hda: it is a link, location is /proc/ide, volume is proc, contents: 10 itmes totalling 0 bytes, and link target is /proc/ide/ide0/hda

for hdc: much the same as hda, except to hdc instead of hda in link target and only 6 itmes, totalling 0 bytes

whereas ide0 shows type as a folder with 14 items tot. 0 bytes, location /proc/ide, and

ide1 almost the same except with 10 items

/proc/ide/ide0/hda props show pretty much the same sort of info

???????

Edit: forgot to mention running Ubuntu 6.06. Thanks

Last edited by Odyssey1942; 12-28-2006 at 07:47 AM.
 
  


Reply



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
locate No such file or directory Fernandoch Debian 3 05-15-2006 03:25 AM
LXer: Embeddable browser aims AJAX at Linux devices LXer Syndicated Linux News 0 01-06-2006 09:46 PM
Can't locate file.... thethinker101 Slackware 4 10-18-2004 04:48 PM
can't locate .rhosts file uerden Linux - Networking 2 02-03-2004 11:43 AM
can't locate .rhosts file uerden Linux - General 3 02-03-2004 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 AM.

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
Open Source Consulting | Domain Registration