LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-09-2004, 12:42 AM   #1
jdmml
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 2
Posts: 89

Rep: Reputation: 15
Question Devices


I was wondering if there was a way to find which devices are actually usable because when I check /dev/ there are many devices that i cannot mount
 
Old 07-09-2004, 01:53 AM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Many (most?) of the device files aren't mountable. You don't mount a serial port, for example. If you are just curious as to what the /dev files are take a look at the devices.txt in the Documentation directory of the source code. In most distro's /usr/src/linux-<version>/Documentation/devices.txt .

Generally speaking, /dev/* are just "hooks" to hang device driver code on. The major and minor numbers have no real significance other than as a uniquely defined connection between the os and the kernel driver for the device it is an input/output for.

I don't know that there is any "automatic" way to find out which are valid in your system. Whichever hardware your system has (and has a driver loaded or compiled in) will be valid.
 
Old 07-09-2004, 11:10 AM   #3
jdmml
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 2
Posts: 89

Original Poster
Rep: Reputation: 15
ok thanx, ill check it out and try to learn something
 
  


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
devices dragozfire *BSD 6 10-11-2004 10:30 PM
Devices Sophic Linux - General 0 03-31-2004 10:30 AM
So many devices fyre36 Slackware 2 08-28-2003 11:00 PM
Devices wonderpun Linux - Hardware 14 11-05-2002 07:13 AM
ps/2 devices cableman207 Linux - Newbie 1 06-24-2002 08:48 AM


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