Help answer threads with 0 replies.
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 06-13-2010, 03:17 PM   #1
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321
Blog Entries: 1

Rep: Reputation: 31
sysfs / udev. How do they work together?

Preparing myself for LPI 101 exam I found a doubt on how Linux manages mounting hardware device on the fly (example flash memory sticks, printer, others storage device, etc). This question isn't LPI specific, I'd just to know a little bit more on this subject.

I think, formerly this task was done by devfs, hotplug and later by hotplug and udev. Am I right? From kernel 2.6 Linux uses SYSFS and udev. Any other piece of software takes care of mounting devices on the fly?

I know the basis use of udev. It's used to "stick" certain device to a certain node (ex. /dev/mydevice) in order to keep that name fixed.
I'd like to know a little more on how sysfs works. Does anybody knows a good source which I could consult?

Thanks in advance, regards,
Old 06-13-2010, 05:17 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,633

Rep: Reputation: Disabled
Have a look in the kernel source tree at Documentation/sysfs-rules.txt and Documentation/filesystems/sysfs*txt and as well.
Old 06-13-2010, 09:39 PM   #3
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks a lot for resources Didier! pdf from Patrick Mochel seems very good. I'll read them tomorrow.



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
[SOLVED] "udev: missing sysfs features; update kernel or ..." gregorian Linux - Newbie 5 12-23-2009 07:08 PM
udev RUN+= doesn't seem to work PlancksCnst Linux - General 18 05-15-2007 07:44 PM
usb won't work with udev dinolinux Linux - Software 4 06-14-2006 11:21 AM
sysfs and udev lost my cdrom devices cexshun Linux - Hardware 0 09-11-2004 07:23 PM
Sysfs, Udev, Proc, Devfs...what the frick? matthurne Linux - Hardware 1 02-24-2004 05:23 AM > Forums > Linux Forums > Linux - Newbie

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