1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-30 23:21:08 +03:00
Commit Graph

154 Commits

Author SHA1 Message Date
greg@kroah.com
1321258af5 [PATCH] v024 release 2005-04-26 21:35:15 -07:00
greg@kroah.com
08b5da6a03 [PATCH] only generate udev.8 on the fly, not all other man pages. 2005-04-26 21:35:14 -07:00
greg@kroah.com
487c1b35ba [PATCH] switch to generate the man pages during the normal build, not during the install. 2005-04-26 21:35:14 -07:00
greg@kroah.com
438ac360e8 [PATCH] first step of making man pages dynamically generated.
Based on a an original patch from Olaf Hering <olh@suse.de>
2005-04-26 21:35:14 -07:00
greg@kroah.com
42e4b6819f [PATCH] add install and uninstall the etc/dev.d/net/hotplug.dev file to the Makefile 2005-04-26 21:35:14 -07:00
kay.sievers@vrfy.org
e5a2989efb [PATCH] udevd race conditions and performance, assorted cleanups - take 2
here is a patch on top of your nice improvements.
I fixed the whitespace and it hopefully fixes the stupid timestamp bug in
udevd. Some stupid OS sets the hwclock to localtime and linux changes it
to UTC while starting. If any events are pending they may be delayed by
the users time distance from UTC :) So we use the uptime seconds now.
2005-04-26 21:35:13 -07:00
greg@kroah.com
6d472fe777 [PATCH] 023_bk mark 2005-04-26 21:35:12 -07:00
greg@kroah.com
04b902d5bf [PATCH] v023 release 2005-04-26 21:35:12 -07:00
greg@kroah.com
df73b398de [PATCH] create the /etc/dev.d/ directories in 'make install' 2005-04-26 21:35:12 -07:00
greg@kroah.com
7e2fb86463 [PATCH] remove selinux stuff from the main Makefile 2005-04-26 21:35:11 -07:00
greg@kroah.com
8860693949 [PATCH] remove dbus stuff from main Makefile
Not needed now that it's in extras.
2005-04-26 21:35:11 -07:00
greg@kroah.com
ddc8f83132 [PATCH] remove udev_dbus.h from Makefile 2005-04-26 21:35:11 -07:00
greg@kroah.com
dd64e26b0c [PATCH] add /etc/dev.d/ support for udev add and remove events. 2005-04-26 21:35:11 -07:00
greg@kroah.com
fdcfcec707 [PATCH] 022_bk tag 2005-04-26 21:35:10 -07:00
greg@kroah.com
93e6b62cbd [PATCH] fix 'make spotless' to really do that in klibc.
bah, this took me forever to figure out why I couldn't build with klibc on
on box...
2005-04-26 21:35:10 -07:00
kay.sievers@vrfy.org
b608ade8e4 [PATCH] first stupid try for a rule compose gui
On Mon, Mar 15, 2004 at 09:28:17PM +0100, Kay Sievers wrote:
> Here is a first simple and pretty stupid try to make a simple tool for
> composing of a udev rule.
>
> It reads the udevdb to get all currently handled devices and presents a
> list, where you can choose the device to compose the rule for.
>
> The composed rule is just printed out in a window, nothing else by now.
>
> Do we want something like this?
> Nevermind, I always wanted to know, how this newt thing works :)

Here is the next step, I still can't sleep and there are to many patches
pending to make something useful :)
Cause nobody wanted to play with me, I've made a screenshot.
The device list is sorted in alphabetical order now and if there are only
a few recently discovered devices, they are placed on top of the list.

For those who want to have a look:

  http://vrfy.org/projects/udev/udevruler.png

The patch applies on top of today's mmap() patch. The db format is
changed to have the file and line number of the applied rule. So it
should be easy to edit the matching rule with this beast. It compiles
with "make all udevruler".
2005-04-26 21:35:10 -07:00
kay.sievers@vrfy.org
c81b35c08b [PATCH] replace fgets() with mmap() and introduce udev_lib.[hc]
Here we replace the various fgets() with a mmap() call for the config
file reading, due to the reported performance problems with klibc.

Thanks to Patrick's testing, it makes a very small, close to nothing
speed gain for libc users, but a 6 times speed increase for klibc users
with a 1000 line config file.

I've created a udev_lib.[hc] for this and also moved all the generic
stuff from udev.h in there and uninlined the functions.
2005-04-26 21:35:10 -07:00
kay.sievers@vrfy.org
8a0acf85f2 [PATCH] make udevtest a real program :)
Here are the missing pieces for udevtest. A simple man page is added,
the blacklist is removed, cause it can't work without having a subsystem.
The Makefile removes all manpages now with a uninstall and installs
udevtest in /usr/bin/.
Any old version from /sbin/ should be deleted by hand.

The only expected argument is the sysfs devpath, here I changed it to be
more tolerant to the input. The path may now be specified with or
without a leading slash and optionally with the /sys moutpoint prepended.

I hope this will end the confusion about the use of this program :)
2005-04-26 21:35:10 -07:00
greg@kroah.com
b99c85e440 [PATCH] 022 release 2005-04-26 21:35:10 -07:00
olh@suse.de
2761f9b951 [PATCH] make spotless
klibc has a target make spotless, this patch makes it possible to clean
the whole udev tree and start from scratch.
2005-04-26 21:35:10 -07:00
olh@suse.de
60ea694525 [PATCH] udev* segfaults with new klibc
current klibc uses regparm on i386. This leads to nice segfaults in all
udev apps. Using the content of the just included MCONFIG file fixes it.
2005-04-26 21:35:09 -07:00
greg@kroah.com
e4f9c4a46d [PATCH] 021_bk mark 2005-04-26 21:35:08 -07:00
greg@kroah.com
88ed4bbe56 [PATCH] 021 release 2005-04-26 21:35:08 -07:00
kay.sievers@vrfy.org
e56f005817 [PATCH] install udevinfo in /usr/bin
Here we rename the former tiny $(HELPER) to $(INFO)
cause it's no longer only a helper :)
And install it in /usr/bin instead of /sbin cause any user
may want to call it and we don't need it on startup.
2005-04-26 21:35:07 -07:00
greg@kroah.com
dfe421a965 [PATCH] Fix another problem with Makefile installing initscript 2005-04-26 21:35:07 -07:00
greg@kroah.com
789adb79f5 [PATCH] fix the Makefile to install the init script into the proper directory
grrr...robert...
2005-04-26 21:35:07 -07:00
greg@kroah.com
a8b41e072c [PATCH] 020 release 2005-04-26 21:35:07 -07:00
kay.sievers@vrfy.org
b5e0fc3208 [PATCH] man page udevstart 2005-04-26 21:35:07 -07:00
greg@kroah.com
1f63fbdd30 [PATCH] install udevstart 2005-04-26 21:35:07 -07:00
rml@ximian.com
c58f8c3000 [PATCH] automatically install correct initscript
On Mon, 2004-03-01 at 20:08, Robert Love wrote:

> Ack, I did not even see that!  Thanks.
>
> Let's rip that out, and always use the new built-in logic to determine
> what initscript to install.

Hm, looks like we do not need the %{lsb} and USE_LSB logic at all,
anymore.

Here is the patch, updated, removing both completely.
2005-04-26 21:35:07 -07:00
greg@kroah.com
82b9a63782 [PATCH] add udevstart program based on a old patch from Harald Hoyer <harald@redhat.com>
This can be used instead of the start_udev script for systems
that do not have a shell, or some other problem...
2005-04-26 21:35:07 -07:00
greg@kroah.com
e408796e91 [PATCH] 019_bk mark 2005-04-26 21:34:28 -07:00
kay.sievers@vrfy.org
f070df164c [PATCH] udev - kill udevd on install
We want to kill udevd after installing a new version, cause the event
contains a magic with the version number of udev.
2005-04-26 21:34:28 -07:00
greg@kroah.com
7eb136adb8 [PATCH] 018 release 2005-04-26 21:34:28 -07:00
greg@kroah.com
8481f8ce2b [PATCH] Add initial SELinux support for udev
Based on a patch from Daniel J Walsh <dwalsh@redhat.com>
2005-04-26 21:32:31 -07:00
greg@kroah.com
89067448b9 [PATCH] fix build for very old versions of make.
Should get rid of some more error reports of libsysfs header issues.
2005-04-26 21:32:31 -07:00
arvidjaar@mail.ru
7b7e4df57b [PATCH] do not remove real .udev.tdb during RPM build 2005-04-26 21:32:30 -07:00
greg@kroah.com
75a7b641ab [PATCH] remove udevtest on 'make clean' 2005-04-26 21:32:29 -07:00
greg@kroah.com
d54fe24caa [PATCH] 018_bk mark 2005-04-26 21:32:29 -07:00
greg@kroah.com
9e5a552130 [PATCH] v018 release 2005-04-26 21:32:29 -07:00
kay.sievers@vrfy.org
7dae391fd6 [PATCH] udev - udevd/udevsend man page
Here is the missing man page for udevd/udevsend.
2005-04-26 21:32:28 -07:00
greg@kroah.com
aa3400ae6d [PATCH] add ability to install udevtest to Makefile 2005-04-26 21:32:28 -07:00
greg@kroah.com
58b030657a [PATCH] 017_bk mark 2005-04-26 21:32:27 -07:00
greg@kroah.com
44a523e30d [PATCH] v017 release 2005-04-26 21:32:27 -07:00
greg@kroah.com
552a4d426f [PATCH] remove the .udev.tdb when installing or uninstalling to be safe. 2005-04-26 21:32:27 -07:00
greg@kroah.com
eb10f97f28 [PATCH] add udevtest program to build
Also fix up some other dependancy issues in the Makefile.
Thanks to Olaf Hering <olh@suse.de> for pointing them out.
2005-04-26 21:32:27 -07:00
greg@kroah.com
e9b2679f42 [PATCH] fix up 'make release' to use bk to build the export tree. 2005-04-26 21:32:26 -07:00
kay.sievers@vrfy.org
f8911dbb04 [PATCH] compile udevd with klibc
On Mon, Feb 09, 2004 at 05:41:15AM +0100, Kay Sievers wrote:
> It seems that today was just another udev-sunday for me :)
>
> Here is a working patch to compile udevd with klibc.
>
> It's sweet the static binary takes 6 kbytes and it runs
> with only 80 kbytes virtual memory.
>
> I changed a few peaces and added a siginterrupt.c file to klibc.
> We may check with hpa to get the changes upstream?

So here is the next try :)
hpa, for good reason, didn't like my changes to klibc.
He will dump signal() completely from klibc instead, so here we switch to
sigaction() and keep udevd working with klibc.
2005-04-26 21:32:26 -07:00
azarah@nosferatu.za.org
4d803d8d04 [PATCH] make logging a config option
Once again, patch to make logging a config option.

Reason for this (since you asked for it):
 - In our setup it is easy (although still annoying) .. just edit the
   ebuild, add logging support (or remove it) and rebuild.  For say a
   binary distro, having the logging is useful for debugging some
   times, but its more a once of, or rare thing, as you do not add or
   change config files every day.  Sure, we can have logging by
   default, but many do not want ~300 lines of extra debugging in their
   logs is not pleasant, and they will complain.  Rebuilding the
   package for that binary package (given the users it is targeted to)
   is usually not within most users grasp.
2005-04-26 21:32:26 -07:00
kay.sievers@vrfy.org
2f6cbd1911 [PATCH] convert udevsend/udevd to DGRAM and single-threaded
On Fri, Feb 06, 2004 at 01:08:24AM -0500, Chris Friesen wrote:
>
> Kay, you said "unless we can get rid of _all_ the threads or at least
> getting faster, I don't want to change it."
>
> Well how about we get rid of all the threads, *and* we get faster?

Yes, we are twice as fast now on my box :)


> This patch applies to current bk trees, and does the following:
>
> 1) Switch to DGRAM sockets rather than STREAM.  This simplifies things
> as mentioned in the previous message.
>
> 2) Invalid sequence numbers are mapped to -1 rather than zero, since
> zero is a valid sequence number (I think).  Also, this allows for real
> speed tests using scripts starting at a zero sequence number, since that
> is what the initial expected sequence number is.
>
> 3) Get rid of all threading.  This is the biggie.  Some highlights:
> 	a) timeout using setitimer() and SIGALRM
> 	b) async child death notification via SIGCHLD
> 	c) these two signal handlers do nothing but raise volatile flags,
> 	all the
> work is done in the main loop
> 	d) locking no longer required


I cleaned up the rest of the comments, the whitespace and a few names to match
the whole thing. Please recheck it. Test script is switched to work on subsystem
'test' to let udev ignore it.
2005-04-26 21:32:26 -07:00