LinuxQuestions.org
Review your favorite Linux distribution.
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 02-16-2012, 09:35 AM   #1
amar.sree
LQ Newbie
 
Registered: Feb 2012
Location: india
Distribution: Redhat
Posts: 18

Rep: Reputation: Disabled
relation between udev and raw devices


hi,

this is AMAR,I am fresh to Linux,can anyone help to learn "What is the relation between udev and raw devices"



--Amar
 
Old 02-17-2012, 02:02 AM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
I presume you mean the files in /dev when you say raw devices. Udev creates those files on demand when hardware is detected during boot or when you add hardware. (and removes files when you remove hardware).

Leave the files in /dev alone. It is a bad place to muck about. Very bad things can happen.

Think of the files in /dev (commonly called 'device files') as direct connections to the connector pins on your hardware. That's not far from the truth. Reading and writing to those files is basically r/w ing to the registers and memory i/o of your hd's, graphics card, etc. Not a good idea.
 
  


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
Creating a Raw Device via Udev Rules trectenw Red Hat 1 04-14-2010 08:24 AM
udev, create raw disk device, how? thllgo Red Hat 2 01-23-2008 10:50 AM
what is the different btw raw devices and block devices yenonn Linux - General 2 02-10-2006 09:34 PM
the relation between udev,hal,kudzu? oriate Linux - General 3 10-26-2005 11:38 PM
UDEV and Raw devices swissworks Slackware 6 09-14-2004 01:08 PM


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