> > Not really. Cloneable devices are used to create per-open context. > > well, it seems to me that having a limit on the number of devices like usb > stuff or something is somewhat wasteful. It would probably be nicer if it > could adjust automatically (note that I have no idea how much more work this > involves besides allocating the structures in the right location... but since > usb hot-attaches after boot, I figure most of the work is already there).
I sometimes wonder whether we could not provide a minimalist devfs: something that would union-mount over /dev and provide device nodes with default modes and owners for all currently attached devices, whenever the underlying fs does not provide the expected node. And chown, chgrp and mknod would be passed to the underlying filesystem, so that change in owner, group or permissions would be sticky. It's somewhere in my huge todolist. Volunteers welcome. Miod PS: and remember, the more /dev/ugen nodes, the more people can simultaneously sing ``Hey, Ugen'' in karakoe events.
