Skip to content

XceptN’s Tech Stuff

All About Tech

udev: what, why, how?

Posted on September 15, 2008 By XceptN No Comments on udev: what, why, how?

udev is introduced with the 2.6 kernel (ie not available in RHEL3 and before)
And that is solely for device name persistence. It is mainly a problem when
disks are external / via HBA, and the names across reboots and/or clusters might
not be the same.

We have been using devlabel to be able to get some persistence with RHEL3 and
RHAS 2.1 but it was not the best solution.

What udev does is that based on the specific attributes of a device (especially
UUID – scsi_id) creates a persistently named symbolic link to a device which can
come up with different /dev/sd* names. udev is also crucial for multipathing
too.

That is for disks.. udev can also be used for RH cluster dlm, hotplugging, sane
(scanners), network, pcmcia, tablets, sound (alsa), pam (biometric interfaces),
bluetooth and some xen.. So udev is way generic.

Note that with EL5, the defaults are available under /dev/disk via
by-id by-label by-path by-uuid
directories.

For raw devices, (raw interface) that was devised to provide character devices
mapped on block devices. Traditionally on UNIX the disks are introduced in
character (raw) mode and they have sequential mode. But for mounts we need block
devices. With linux, it was implemented the other way around. Basically the
block devices are available for disks, and when databases needed raw
devices for multinode access (clustering) and async I/O (2.1 times – when
async I/O was not possible with ext2) it was implemented as a mapping
mechanism.

Nowadays we do not use the raw interface as RDBMSes support the use of
block devices as raw and we have cluster filesystems (OCFS2).
. And the raw support via the β€œraw” interface is deprecated with RHEL5
(although it is available) and not likely be around for EL6.

linux, storage, sysadm

Post navigation

Previous Post: How to Mount Volumes from a Rescued LVM Disk?
Next Post: Linux DVD9 to DVD5

Related Posts

Linux DVD9 to DVD5 desktop
Accessing NTFS Partitions from Linux linux
gawk – use semicolon as delimiter linux
The vm.swappiness Parameter in Linux 2.6 Kernels kernel
Unix / Linux Job Automation “crontab” Tips linux
HP QLogic Drivers development

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Dipping Toes into Nix Package Manager | Installing Freeplane
  • Fujitsu Workplace Protect Face Recognition Best Practices on Q704
  • Fujitsu STYLISTIC Q704 Fingerprint Scanner Problems
  • Two Generations of Computing Equipment…
  • IBM Model M Keyboard Goes Blank

Recent Comments

  1. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  2. XceptN on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  3. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  4. Kaylee on Mounting an LVM Logical Volume in an Oracle VM Disk Image
  5. Theron Conrey on Open Source Virtualization for Smaller Carbon Footprint

Archives

  • June 2024
  • November 2014
  • October 2014
  • April 2014
  • March 2014
  • December 2012
  • November 2012
  • October 2010
  • April 2010
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008

Categories

  • blogging
  • communication
  • desktop
  • development
  • firmware
  • Fujitsu
  • gprs
  • gps
  • hardware
  • internet
  • java
  • kernel
  • keyboard
  • linux
  • masteryourbiz
  • mms
  • mobile
  • multimedia
  • network
  • OracleVM
  • palm
  • python
  • rokr e6
  • social media networking
  • storage
  • sysadm
  • tablet
  • twitter
  • virtualization
  • wap
  • windows
  • wordpress
  • xen

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark