summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2005-04-26[PATCH] 032 releaseudev/v032greg@kroah.com
2005-04-26[PATCH] 031 releaseudev/v031greg@kroah.com
2005-04-26[PATCH] udevsend depends on udev_lib.oolh@suse.de
make -j doesnt work with current udev.
2005-04-26[PATCH] let /sbin/hotplug execute udev earlierkay.sievers@vrfy.org
We ran into problems with all the /etc/hotplug.d/ scripts that sleep for the sysfs files or for other reasons. Anyway, it takes much too much time before udev is executed. HAL has its own notifier in /etc/hotplug.d/ and also waits for the dev.d/events with the same SEQNUM. Sometimes it take 25 seconds between these two events, cause the other scripts are sleeping too much :) Attached is a patch that installs the udevsend symlink as 10-udev.hotplug instead of udev.hotplug, to be executed earlier. [kay@pim udev.kay]$ tree /etc/hotplug.d/ /etc/hotplug.d/ `-- default |-- 10-udev.hotplug -> /sbin/udevsend |-- 20-hal.hotplug -> /usr/libexec/hal.hotplug `-- default.hotplug
2005-04-26[PATCH] Make udev/udevstart be one binarytrini@kernel.crashing.org
Hi, The following patch makes udev/udevstart be a common binary. First, doing this grows udev by a total of 1.8kB (ppc32, stripped) whereas udevstart by itself is 6.4kB. I know you mentioned being able to replace udevstart with a script, but at 1.8kB I don't think it'll be easy to beat this with size there. Next, the following are by-eye timings of before, after, and with devfs on a slow, but still usable embedded platform (config stripped down to more-or-less bare for ramdisk): -- Embedded Planet RPX LITE, 64Mhz MPC 823e -- devfs : 15.333s, 15.253s, 14.988s (15.191s avg) udev-pristine : 18.675s, 18.079s, 18.418s (18.390s avg) udev-multi : 14.587s, 14.747s, 14.868s (14.734s avg) The patch ends up being rather large to add this, as in doing so I ended up making all refs (that I hit..) to devpath/subsystem be marked as 'const'. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26[PATCH] Add 'asmlinkage' to udev-030trini@kernel.crashing.org
The following patch adds 'asmlinkage' defines to udev, to kill off 2 warnings on !i386. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26[PATCH] 030 releaseudev/v030greg@kroah.com
2005-04-26[PATCH] 029 releaseudev/v029greg@kroah.com
2005-04-26[PATCH] 028 releaseudev/v028greg@kroah.com
2005-04-26[PATCH] 027 releaseudev/v027greg@kroah.com
2005-04-26[PATCH] 026 releaseudev/v026greg@kroah.com
2005-04-26[PATCH] 025_bk markgreg@kroah.com
because kernel.org is down, no release just yet...
2005-04-26[PATCH] udev default config layout changeskay.sievers@vrfy.org
Here we catch up, after the default config changes. o the man page is updated to reflect the new default config o /etc/udev/rules.d/ + permissions.d/ dirs are created now o udev.rules is installed in /etc/udev/rules.d/50-udev.rules so the user can easily order the files by prepending a number. (RedHat has the same name in the last rpm.) o defined directory names in the Makefile are all without slashes now, not the first half with and the remaining without. o all binaries are uninstalled now o leading slashes in config values are now removed or prepended while the config is parsed, so we are more robust if the usere changes something. o replaced the macros from udev_config.c with real code, cause we can skip if the value matches and not useless iterate over the remaining fields. o config parsing errors are logged with info() now, fixes the bug where we report a error with debug_parse(), even when there isn't one
2005-04-26[PATCH] v025 releaseudev/v025greg@kroah.com
2005-04-26[PATCH] Fix build process for users who have LC_ALL set to a non-english ↵greg@kroah.com
language. Many thanks to jack_mort <mort_jack@yahoo.fr> for helping track this down.
2005-04-26[PATCH] v024 releaseudev/v024greg@kroah.com
2005-04-26[PATCH] only generate udev.8 on the fly, not all other man pages.greg@kroah.com
2005-04-26[PATCH] switch to generate the man pages during the normal build, not during ↵greg@kroah.com
the install.
2005-04-26[PATCH] first step of making man pages dynamically generated.greg@kroah.com
Based on a an original patch from Olaf Hering <olh@suse.de>
2005-04-26[PATCH] add install and uninstall the etc/dev.d/net/hotplug.dev file to the ↵greg@kroah.com
Makefile
2005-04-26[PATCH] udevd race conditions and performance, assorted cleanups - take 2kay.sievers@vrfy.org
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[PATCH] 023_bk markgreg@kroah.com
2005-04-26[PATCH] v023 releaseudev/v023greg@kroah.com
2005-04-26[PATCH] create the /etc/dev.d/ directories in 'make install'greg@kroah.com
2005-04-26[PATCH] remove selinux stuff from the main Makefilegreg@kroah.com
2005-04-26[PATCH] remove dbus stuff from main Makefilegreg@kroah.com
Not needed now that it's in extras.
2005-04-26[PATCH] remove udev_dbus.h from Makefilegreg@kroah.com
2005-04-26[PATCH] add /etc/dev.d/ support for udev add and remove events.greg@kroah.com
2005-04-26[PATCH] 022_bk taggreg@kroah.com
2005-04-26[PATCH] fix 'make spotless' to really do that in klibc.greg@kroah.com
bah, this took me forever to figure out why I couldn't build with klibc on on box...
2005-04-26[PATCH] first stupid try for a rule compose guikay.sievers@vrfy.org
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[PATCH] replace fgets() with mmap() and introduce udev_lib.[hc]kay.sievers@vrfy.org
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[PATCH] make udevtest a real program :)kay.sievers@vrfy.org
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[PATCH] 022 releaseudev/v022greg@kroah.com
2005-04-26[PATCH] make spotlessolh@suse.de
klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch.
2005-04-26[PATCH] udev* segfaults with new klibcolh@suse.de
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[PATCH] 021_bk markgreg@kroah.com
2005-04-26[PATCH] 021 releaseudev/v021greg@kroah.com
2005-04-26[PATCH] install udevinfo in /usr/binkay.sievers@vrfy.org
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[PATCH] Fix another problem with Makefile installing initscriptgreg@kroah.com
2005-04-26[PATCH] fix the Makefile to install the init script into the proper directorygreg@kroah.com
grrr...robert...
2005-04-26[PATCH] 020 releaseudev/v020greg@kroah.com
2005-04-26[PATCH] man page udevstartkay.sievers@vrfy.org
2005-04-26[PATCH] install udevstartgreg@kroah.com
2005-04-26[PATCH] automatically install correct initscriptrml@ximian.com
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[PATCH] add udevstart program based on a old patch from Harald Hoyer ↵greg@kroah.com
<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[PATCH] 019_bk markgreg@kroah.com
2005-04-26[PATCH] udev - kill udevd on installkay.sievers@vrfy.org
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[PATCH] 018 releaseudev/v019greg@kroah.com
2005-04-26[PATCH] Add initial SELinux support for udevgreg@kroah.com
Based on a patch from Daniel J Walsh <dwalsh@redhat.com>