All of lore.kernel.org
 help / color / mirror / Atom feed
* pseudo block device as metadata and cache device
@ 2013-07-17 17:29 Vivek Subbarao
  2013-07-22 17:39 ` Mikulas Patocka
  0 siblings, 1 reply; 2+ messages in thread
From: Vivek Subbarao @ 2013-07-17 17:29 UTC (permalink / raw)
  To: dm-devel

Hi,

Can a pseudo block device create using mknod be used to hold metadata
and cached blocks ?

Thank you,
Vivek S

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pseudo block device as metadata and cache device
  2013-07-17 17:29 pseudo block device as metadata and cache device Vivek Subbarao
@ 2013-07-22 17:39 ` Mikulas Patocka
  0 siblings, 0 replies; 2+ messages in thread
From: Mikulas Patocka @ 2013-07-22 17:39 UTC (permalink / raw)
  To: Vivek Subbarao; +Cc: dm-devel



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-22 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-17 17:29 pseudo block device as metadata and cache device Vivek Subbarao
2013-07-22 17:39 ` Mikulas Patocka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.