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

Greg KH
2004-11-16T16:41:26Z

On Tue, Nov 16, 2004 at 03:01:10PM +0100, Miklos Szeredi wrote:
> > "fuse/version" you have in /proc while it belongs to /proc
> > "fuse/dev" you have in /proc while it belongs to /dev
>
> 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.

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.

thanks,

greg k-h