the proper way to restart udev to pick up a new group?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Apr 20 01:15:21 UTC 2009


Robert P. J. Day wrote:
>   in order to have a udev-created device file belong to a
> newly-created group, i added a trivial rules file to
> /etc/udev/rules.d/, but i'm assuming i have to restart udevd to
> have the new group recognized, since i can see from the man page for
> udevd that there is a --resolve-names option which defaults to
> "early", and i'm assuming that that means that only the groups that
> exist when udevd *starts* are valid for rules files, is that correct?
> 
>   i kind of surmised that when i saw, in /var/log/messages, a udevd
> diagnostic claiming that the group was "unknown".  so, other than just
> flat out killing udevd and starting it again manually, what's the
> proper way to restart it so that it sees the new group?  thanks.
> 
You can try udevadm. Something like "udevadm control --reload_rules"
should work.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090419/e3339c5c/attachment-0001.sig>


More information about the fedora-list mailing list