some question about mdev

Rob Landley rob at landley.net
Thu Mar 11 12:48:15 UTC 2010


On Wednesday 10 March 2010 09:45:31 loody wrote:
> Dear all:
> I register uvcvideo.ko in kernel and mdev make the device node for me.
> But I find the node mdev make is "b 81 0" instead of "c 81 0", video
> node is char device not block device.
> Would someone please give me a hint where the mdev decides which type
> of node it will make?
> appreciate your help,
> miloody

A) block device nodes have "/block/" in their path.  Generally /sys/block or 
/sys/class/block.

B) You should really be using devtmpfs, I suspect:

  http://lwn.net/Articles/331818/
  http://lwn.net/Articles/353849/
  http://lwn.net/Articles/370418/

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list