*WORKED AROUND* Add /proc/bus/usb inside VE ? [message #33548] |
Tue, 21 October 2008 14:01 |
Aefron
Messages: 10 Registered: July 2008
|
Junior Member |
|
|
Howdy !
First lot of thanks for OpenVZ : it really rocks !
To make it short, my question is : is there a way so one can add "/proc/bus/usb" to a VE ?
Such things as SANE (for scanners) seem to require this "proc" entry so they can work... and I cannot add this one through the ".mount" script for the concerned VE, as the documentation suggests "/proc" is not yed avalaible when it is executed.
Using now OpenVZ on Debian Lenny, with official packages from there (kernel "linux-image-2.6.26-1-openvz-686-8" and "vzctl-3.0.22-11"), I am testing OpenVZ, while sill using my "old" Etch VServer...
On this latter, I have no problem adding "/proc/bus/usb" in a container, through an entry in "/etc/vservers/${NAME}/fstab" such as "none /proc/bus/usb usbfs defaults 0 0"... which has yet proven useful several times on my server (along with SYS_RAWIO capability) :
- I have an USB printer that did not show under "/dev/usb/lpX" but required access to /proc/bus/usb (with Lenny, it now works with "/dev/usb/lpX" anyway, so this is good with OpenVZ, now) ;
- it makes "lsusb" work ;
- my scanner requires access to "/proc/bus/usb";
- some people have printer/scanner combo devices which are rendered half-useful without "/proc/bus/usb" access
Well, I am aware this is not as clean as making a simple device node under "/dev/usb" accessible (which works right), but there are cases where this simply is not enough...
So, is there a way to do this ?
[Updated on: Tue, 21 October 2008 18:41] Report message to a moderator
|
|
|