Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



Jason Thorpe <thorpej%wasabisystems.com@localhost> writes:

> Why use a pseudo-device here?  Why not a drvctl(2) system call?

Why not use a pseudo-device? We need a new interface, so we have to
pick some namespace to dump it in... the syscall namespace doesn't
seem obviously preferable to the device-number namespace.

(I also prefer a file interface because it would be nice to, say, use
poll() and read() to get notifications of device
attachment/detachment, which would be a pretty straightforward
extension to this.

        - Nathan




Home | Main Index | Thread Index | Old Index