Re: [PATCH] [Request for inclusion] Filesystem in Userspace

Miklos Szeredi
2004-11-16T16:49:11Z

> > 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