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

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



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!

Attachment: signature.asc
Description: OpenPGP digital signature


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