[dm-devel] pseudo block device as metadata and cache device

Mikulas Patocka mpatocka at redhat.com
Mon Jul 22 17:39:35 UTC 2013



On Wed, 17 Jul 2013, Vivek Subbarao wrote:

> Hi,
> 
> Can a pseudo block device create using mknod be used to hold metadata
> and cached blocks ?
> 
> Thank you,
> Vivek S

Hi

mknod doesn't create any devices, it creates a named REFERENCE to a 
device, not the device itself. The device itself is specified by major and 
minor number, and it must already exist, mknod doesn't create it.

Generally, you don't need to use mknod because on any modern Linux system, 
references to devices are created automatically by udev in the /dev/ 
directory.

Mikulas




More information about the dm-devel mailing list