What is the proper way to restart udev?

Kim Lux lux at diesel-research.com
Thu Mar 1 21:09:04 UTC 2007


Just in case anyone is still wondering about this question, the easiest
way to get udev to look at the bus again is udevtrigger.  And its fine
to do it on a running machine.  I'm testing udev rules and it works well
for that.  Saves a lot of time over rebooting. 

man udevtrigger is your friend. :) 


On Fri, 2006-06-09 at 21:11 -0400, Tony Nelson wrote:
> At 4:18 PM -0400 6/9/06, Steven W. Orr wrote:
> >On Friday, Jun 9th 2006 at 13:04 -0400, quoth Dan:
> >
> >=>Steven W. Orr wrote:
> >=>> I found /sbin/udevstart but there is no udevstop. Can I kill -1 the
> >running
> >=>> udevd, or do I kill -9 the udevd followed by a udevstart, or do I have to
> >=>> reboot?
> >=>>
> >=>> TIA
> >=>>
> >=>Not certain on this but my gut tells me it'd be bad to kill udev on a
> >running
> >=>system.
> >=>-Dan
> >
> >Umm, thanks, but no. udevd is just another userspace process AFAICT. If it
> >weren't running then the worst that could happen is that some dynamic
> >device creation would not happen.
> >
> >Anyone else on how to restart?
> 
> Run /sbin/start_udev?  It seems to kill udevd before starting udevd.  It's
> run by /etc/rc.d/rc.sysinit, which is run by /etc/inittab for si.
> ____________________________________________________________________
> TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
>       '                              <http://www.georgeanelson.com/>
> 
-- 
Kim Lux,  Diesel Research Inc.





More information about the fedora-list mailing list