LinuxQuestions.org
Register a domain and help support LQ
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 09-24-2008, 02:54 AM   #1
chaitanya1982
LQ Newbie
 
Registered: Apr 2008
Posts: 23

Rep: Reputation: 15
How to create a device file in linux?


Hi

I want to know how to create a device file in linux. Please provide me the detailed information. Thanks in advance

Chaitanya
 
Old 09-24-2008, 03:05 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
What are you trying to do?
 
Old 09-24-2008, 03:12 AM   #3
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
MAKEDEV (in upper case) is what you're looking for.
 
Old 09-24-2008, 01:42 PM   #4
racracracrac
Member
 
Registered: Sep 2008
Posts: 44

Rep: Reputation: 15
MAKEDEV is good, it will create groups of devices. For example it will create all of the loop devices /dev/loopN.

For a particular decide that you know the info about, mknod is what you need.

(link removed)

Last edited by Mara; 10-12-2008 at 04:53 PM. Reason: link removed, as it has nothing to do with this thread
 
  


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
how to create a .bin file in linux sharad Linux - General 6 12-03-2009 04:59 AM
how to create a new .C file in linux amirthakumar Linux - General 3 08-09-2007 06:53 AM
How to create a multi-file-image and mount it as a loopback device (on xbox debian) El_Oy Linux - Software 1 06-14-2006 03:05 AM
how to create a linux file system? Sarah Ramsey Linux - Software 4 02-19-2006 07:06 PM
How can we create file device? l_9_l Linux - General 1 01-11-2002 11:50 AM


All times are GMT -5. The time now is 05:00 PM.

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