[OpenIndiana-discuss] How to use usb printer in non-global zone?

Jacek 'Szumak' Kotlarski szumak at k-informatix.com
Sun Mar 8 12:10:52 UTC 2015


W dniu 08.03.2015 o 12:47 Jacek 'Szumak' Kotlarski  
<szumak at k-informatix.com> pisze:

> I have usb printer:
>
> # cfgadm -l -s "cols=ap_id:info" | grep OKI
> usb2/1.4                       Mfg: OKI DATA CORP  Product: USB Device   
> NConfigs: 1  Config: 0  <no cfg str descr>
>
> # ls -alF /dev/printers/0
> lrwxrwxrwx 1 root root 61 mar  8 10:48 /dev/printers/0 ->  
> ../../devices/pci at 0,0/pci1462,7616 at 1a/hub at 1/printer at 4:printer
>
> but i'm looking for how to add that device to non-global zone?
> I can't find any information about that.
>
> # uname -v
> omnios-b281e50

Sorry, quite simple :)

zonecfg:printer> add device
zonecfg:printer:device> set match=/dev/printers/0
zonecfg:printer:device> end
zonecfg:printer> exit

-- 
regards
Jacek Kotlarski



More information about the openindiana-discuss mailing list