[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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




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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]