Messages in this thread | | | Date | Tue, 19 Apr 2011 11:32:41 +0200 | From | Alexander Holler <> | Subject | Re: [PATCH 0/1] Implement /dev/byte (a generic byte source similiar to /dev/zero) |
| |
Hello,
Am 19.04.2011 11:05, schrieb Alexander Holler:
>> Implementationwise I think I would have gone for allocating a new device >> and range of 256 minors - that would avoid the funky stuff setting what >> it fills with as you'd just fill with the minor number. > > I thought about that too, but that would have been to easy (and static). ;) > > And the usage of file descriptors was the only idea I've come up with, > which is multitasking and multiuser aware.
If I add the possibility to use minors to set the default value (but still leave the possibility to change the default dynamically), would that raise the chance to become included? ;)
Regards,
Alexander
| |