Re: UUIDs (and devfs and major/minor numbers)

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Fri, 18 Jun 1999 11:44:19 +0200


On Fri, Jun 18, 1999 at 10:26:07AM +0100, Paul Jakma wrote:
> a devmgr without kernel interaction would be a complicated, gross
> hack. How would you handle dynamic devices with your devmgr? poll
> every second for new devices? and what do you poll? Your devmgr has
> to get the information about new/expired devices from somewhere -
> so the kernel has to export this information somewhere. Why not in
> the most logical way: directly to /dev?

There are a number of communication methods from the kernel to userspace:
via a file in /proc, sysvipc (as kerneld used to), netlink sockets and
RT signals. None of these impose a naming scheme upon /devices.

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

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