Quoting Walt Chow (waltc...@hotmail.com):
> Hi,
> I would like to put a process into a container whenever the system boots up, 
> and this container would limit what device the process can access.  The 
> commonway to limit device access in the container configuration file is to 
> use the major numberof the device.  However, the major number, assigned by 
> the kernel, for the same device may change whenever the system reboots.  I 
> wonder if there is another way to limitthe device access without using the 
> major number.

No.  I'd suggest you use a script which detects the major-minor number
at start time and modifies the container configuration file.

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to