Re: /sys/block vs. /sys/class/block

From: Nick Piggin
Date: Mon Dec 20 2004 - 04:48:51 EST


Benjamin Herrenschmidt wrote:
Seems like that's where it belongs.

The reason why it is in /sys/block is because it is apparently a "subsystem",
and using decl_subsys - drivers/block/genhd.c


I'm not convinced ... If you look at how /sys is organized, it really
doesn't make any sense ... block devives are really devices of "class
block", wether we have a block "subsystem" in there is irrelevant imho.


Sorry to be unclear: I was agreeing with you ;)

I was just pointing out that the reason it is currently /sys/block is
that decl_subsys call.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/