[Devel] Re: [RFC][PATCH] Devices visibility container

Cedric Le Goater clg at fr.ibm.com
Tue Sep 25 04:20:31 PDT 2007


Pavel Emelyanov wrote:
> Paul Menage wrote:
>> On 9/24/07, Pavel Emelyanov <xemul at openvz.org> wrote:
>>>  # /bin/echo -n '+1:5' > /cont/devs/0/devices.char
>>>
>>> More generally, the '+<major>:<minor>' string grants access to
>>> some device, and '-<major>:<minor>' disables one.
>> How about a more forward-compatible API:
>>
>> <major>:<minor>=<permissions>[,<remapped_major>:<remapped_minor>]
> 
> I'd rather make it look like
> 
> <major>:<mino>[:<permissions>][:<map_major>:<map_minor>]
> 
> where
> 
> <permissions>:=[r-][w-] and NULL means rw

bah. numeric mode are better.

C.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list