From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: udev - kill udevd on install
Date: Sat, 28 Feb 2004 03:33:39 +0000 [thread overview]
Message-ID: <20040228033339.GB32032@vrfy.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 133 bytes --]
We want to kill udevd after installing a new version, cause the event
contains a magic with the version number of udev.
thanks,
Kay
[-- Attachment #2: 02-kill-udevd.patch --]
[-- Type: text/plain, Size: 824 bytes --]
===== Makefile 1.122 vs edited =====
--- 1.122/Makefile Sat Feb 28 02:59:43 2004
+++ edited/Makefile Sat Feb 28 04:25:36 2004
@@ -373,10 +373,12 @@
$(INSTALL_DATA) -D udev.8 $(DESTDIR)$(mandir)/man8/udev.8
$(INSTALL_DATA) -D udevinfo.8 $(DESTDIR)$(mandir)/man8/udevinfo.8
$(INSTALL_DATA) -D udevd.8 $(DESTDIR)$(mandir)/man8/udevd.8
- - ln -f -s ./udevd.8 $(DESTDIR)$(mandir)/man8/udevsend.8
- - rm -f $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug
- - rm -f $(DESTDIR)$(udevdir)/.udev.tdb
+ - ln -f -s udevd.8 $(DESTDIR)$(mandir)/man8/udevsend.8
- ln -f -s $(sbindir)/$(SENDER) $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug
+ifndef DESTDIR
+ - killall udevd
+ - rm -f $(udevdir)/.udev.tdb
+endif
@extras="$(EXTRAS)" ; for target in $$extras ; do \
echo $$target ; \
$(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \
next reply other threads:[~2004-02-28 3:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-28 3:33 Kay Sievers [this message]
2004-02-28 6:50 ` udev - kill udevd on install Greg KH
2004-02-28 12:48 ` Kay Sievers
2004-03-01 22:26 ` Greg KH
2004-03-18 14:40 ` Harald Hoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040228033339.GB32032@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).