Device mapper api v/s block device driver api

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Mon May 6 16:47:12 EDT 2013


On Mon, 06 May 2013 13:37:50 -0600, neha naik said:

> What do you think?  What are the pros and cons of device mapper v/s block
> device driver

Block device driver does exactly one thing - provides a driver for a
a generic block device.  If all you need is a generic block device,
use this.

Device-mapper provides targets that do things other than a generic block
device.  Stuff like crypto support, logical block forwarding and mapping to
support things like LVM, multipath support, software raid, caching, etc.
Basically, look around in drivers/md at the already existing targets.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130506/a576ea11/attachment.bin 


More information about the Kernelnewbies mailing list