LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

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


Hi,
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.

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

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

(man 2 mknod)
 
  


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
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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:56 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