Re: how reload udev rules and systemd on F18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sex, 2013-02-08 at 10:08 +0100, Florian Weimer wrote: 
> On 02/05/2013 07:43 PM, Sérgio Basto wrote:
> 
> > Any advises or opinions ?
> 
> I think you haven't yet described the original problem you're trying to 
> solve.

Hi, 

When we install VirtualBox from rpmfusion , I'd like create /dev/vboxusb
proxies to host system without reboot box. I want that ends with:

ll /dev/vboxusb -d 
drwxr-x--- 4 root vboxusers 80 Fev  5 18:42 /dev/vboxusb

ll /dev/vboxusb
total 0
drwxr-x--- 2 root vboxusers 80 Fev  9 11:19 002
drwxr-x--- 2 root vboxusers 60 Fev  5 18:42 001

the actual scriptlet:
# Assign USB devices
if /sbin/udevadm control --reload-rules >/dev/null 2>&1
then
   /sbin/udevadm trigger --subsystem-match=usb --action=add >/dev/null
2>&1 || :
   /sbin/udevadm settle >/dev/null 2>&1 || :
fi

I already send to list /etc/udev/rules.d/90-vboxdrv.rules on this
thread 
This on host master system .
And also need add 60-vboxguest.rules on guest systems 

ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root",
MODE="0600"
ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root",
MODE="0666" 

I know udevadm trigger probe all usb but without that don't know assign
USB devices, VirtualBox is not to be install on a critical system and it
is more convenient, not need reboot box and have VirtualBox system
ready .  
If you write here the scriptlet for optimal assign of USB proxies on
VirtualBox I was very grateful. 

Sorry for my weak English ...
Thanks, 
-- 
Sérgio M. B.

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux