Download your favorite Linux distribution at LQ ISO.
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 09-24-2008, 02:54 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 23

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


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

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:12 PM.

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