[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DAD56B9.8020909@ahsoftware.de>
Date: Tue, 19 Apr 2011 11:32:41 +0200
From: Alexander Holler <holler@...oftware.de>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
CC: Mike Frysinger <vapier.adi@...il.com>, linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists