Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-26-2005, 08:49 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
Linux equivalent for "makedevice" command

Can anyone tell me what is the equivalent linux command for "makedevice" in Solaris.
Actually, I need to issue ioctl command to a device in Kernel mode. The device major, minor numbers are available. In Solaris, "makedevice" is used to create the device and pass the return value as file descriptor to ioctl system call.
I want to know how can I do it in linux.

Old 07-26-2005, 09:05 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Are you aware of mknod() function ?

(man 2 mknod)


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
Linux equivalent to DOS "tree" command? XDude Linux - Newbie 10 09-25-2014 12:24 PM
"Microsoft Journal Viewer" linux equivalent? 95se Linux - Software 4 01-12-2005 11:13 AM
equivalent of "what" shell command in Linux raees Linux - General 4 03-16-2004 08:59 AM
Equivalent to Dos "Type" command? greendemon Linux - Newbie 2 08-04-2003 04:48 AM
Linux equivalent to "Network Neighborhood" glock19 Linux - Networking 6 01-30-2002 06:09 PM > Forums > Non-*NIX Forums > Programming

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