Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

Dynamic device management in Udev

DEVICE MANAGER

Author(s): RENE REBE, OLIVER FROMMEL, JENS-CHRISTOPH BRENDEL

After three years of hanging around on the sidelines, Udev has finally ousted the legacy Dev-FS system. We take a look under the hood at the Udev device management system inside your Linux system.

Linux inherited the classic Unix adage “Everything is a file.” This abstraction has allowed programs to use device nodes (device files) to access computer hardware as if they were accessing an ordinary file. These special device files, which are opened, read, written to, or closed using the same system calls as text files, are distinguished by their names, types (block or character device), major numbers, and minor numbers. PreviouslyToo Static Device files are created by the mknod command during the installation phase, assuming legacy management. This approach creates a permanent entry in /dev for each device the admin might connect to the system at any time in the future, and this can easily mean thousands of entries.


Read full article as PDF »


Comments


Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg
Related Articles
HOTPLUG HACKS Extending the Linux hotplug system
FREE Live Streaming Video from ApacheCon US 2009

Watch our free Video Archive from Apachecon US 2009. Archive provided by The Apache Foundation, COLLABNET, and Linux Pro Magazine

Drawing internationally renowned thought-leaders, contributors, and organizations in the Open Source community, ApacheCon offers insight into the culture and community that develops and shepherds industry-leading Open Source projects, including Apache HTTP Server – the world's most popular Web server software for more than 10 years.

Find out more

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2010 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland]
International: [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]