From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cedric Le Goater Subject: Re: [RFC][PATCH] Devices visibility container Date: Tue, 25 Sep 2007 13:20:31 +0200 Message-ID: <46F8EEFF.8000204@fr.ibm.com> References: <46F77523.9020001@openvz.org> <6599ad830709250053m715a1848mf6c17a6dd321092@mail.gmail.com> <46F8C007.1090000@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46F8C007.1090000-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Pavel Emelyanov Cc: Linux Containers , Paul Menage , "Eric W. Biederman" List-Id: containers.vger.kernel.org Pavel Emelyanov wrote: > Paul Menage wrote: >> On 9/24/07, Pavel Emelyanov wrote: >>> # /bin/echo -n '+1:5' > /cont/devs/0/devices.char >>> >>> More generally, the '+:' string grants access to >>> some device, and '-:' disables one. >> How about a more forward-compatible API: >> >> :=[,:] > > I'd rather make it look like > > :[:][::] > > where > > :=[r-][w-] and NULL means rw bah. numeric mode are better. C.