PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 12:52:51 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: what is the difference between device-mapper and udev?  (Read 425 times)
mtonkinson
Jr. Member
**
Offline Offline

Posts: 39


« on: January 12, 2010, 12:33:02 AM »

I am curious what the difference between device-mapper and udev is. I had a post I made earlier where I thought when I updated to KDE4 something happened that was causing troubles mounting an external and secondary hard drive. I now have determined that it appears to be device-mapper. I downloaded the dmsetup utility a while back and when I type dmsetup ls I get:
Code:
[root@localhost /]# dmsetup ls
1WD_6400AAK_External    (253, 0)
1WD_6400AAK_Externalp1  (253, 1)
SATA_WDC_WD2000JD-22WD-WCAL73024837     (253, 2)

and if I try to mount the drives or access them through Dolphin I get a message that the drives are busy or already mounted. If I enter dmsetup remove_all, this problem disappears. What is the purpose of device-mapper? Is there a way to remove device-mapper or a way to stop device-mapper from mapping my drives? From what it appears, device-mapper is having problems mapping the drives but udev is able to map and mount the drives.

Logged
Bald Brick
PCLinuxOS Tester
Hero Member
*******
Online Online

Posts: 5145


I'm going South


« Reply #1 on: January 12, 2010, 01:14:35 AM »

device mapper:
http://linuxgazette.net/114/kapil.html
This may be a bit technical but it's also very informative.

udev:
http://en.wikipedia.org/wiki/Udev

udev creates the device nodes but needs some assistance from
HAL:
http://en.wikipedia.org/wiki/Hardware_abstraction_layer
man hald
Logged

If it ain't broke
hit harder!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM