Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-18-2009, 11:48 PM   #1
Registered: Apr 2009
Posts: 36

Rep: Reputation: 15
device nodes


I came across in some documentation that we need to obtain major number dynamically while writing device drivers. If this is the case, how to create nodes in /dev directory to access the driver from user space?

Old 10-19-2009, 03:24 AM   #2
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Sounds like "man mknod" will help you out!


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
Dynamic nodes for device driver ashok449 Linux - Kernel 1 03-31-2008 05:30 AM
How do you detect device nodes with C? sebajo Programming 1 06-19-2007 12:42 PM
Combine two mouse device nodes into one? Harpune Linux - Laptop and Netbook 0 12-18-2004 02:24 PM
no hdc and hdd device nodes Speek Debian 0 11-28-2004 07:39 AM
Device nodes zoomzoom Linux - General 0 08-18-2003 08:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration