Re: [PATCH] [Request for inclusion] Filesystem in Userspace
From: Miklos Szeredi
Date: Tue Nov 16 2004 - 11:52:26 EST
> > Well, 'Documentation/devices.txt' says:
> >
> > THE DEVICE REGISTRY IS OFFICIALLY FROZEN FOR LINUS TORVALDS' KERNEL
> > TREE. At Linus' request, no more allocations will be made official
> > for Linus' kernel tree; the 3 June 2001 version of this list is the
> > official final version of this registry.
>
> Not true, you can get new numbers.
I don't understand, what's the reason for this warning then? To scare
away developers wanting to allocate lots of device numbers?
> Don't put things that should be in /dev into /proc, not allowed.
>
> > So placing it in /proc doesn't seem to me such a bad idea.
>
> No. Actually, put it in sysfs, and then udev will create your /dev node
> for you automatically. And in sysfs you can put your other stuff
> (version, etc.) which is the proper place for it.
I'll do that.
Thanks,
Miklos
-
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/