chiark / gitweb /
Marco d'Itri [Mon, 7 Nov 2005 17:52:03 +0000 (18:52 +0100)]
move some logging from dbg() to info()
Marco d'Itri [Mon, 7 Nov 2005 17:44:18 +0000 (18:44 +0100)]
add strerror() to error logs
Kay Sievers [Mon, 7 Nov 2005 16:16:33 +0000 (17:16 +0100)]
update .gitignore
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 7 Nov 2005 16:14:38 +0000 (17:14 +0100)]
remove udevinitsend
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 7 Nov 2005 15:00:41 +0000 (16:00 +0100)]
let NAME="" supress node creation, but do RUN keys
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 7 Nov 2005 13:10:09 +0000 (14:10 +0100)]
never queue events with TIMEOUT set
With removing the event reorder queue, we can fix the TIMEOUT events
like firmware loading proper, and never delay any of these events.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 7 Nov 2005 01:44:34 +0000 (02:44 +0100)]
073 release
Kay Sievers [Mon, 7 Nov 2005 01:40:09 +0000 (02:40 +0100)]
add .gitignore
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 7 Nov 2005 01:23:06 +0000 (02:23 +0100)]
print useconds in udevmonitor
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 7 Nov 2005 01:22:44 +0000 (02:22 +0100)]
udevd: depend on netlink and remove all sequence reorder logic
Netlink will never get out-of-order and we just depend on it from
now on. Udevsend messages will have no effect if they contain a
sequence number (SEQNUM).
Thanks to Bastian Blank <waldi@debian.org>, for the debugging session
which identified a bug where the timeouts are not working if
inotify was not available. All the timeout handling is removed
now and this issue should be solved.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 5 Nov 2005 21:05:35 +0000 (22:05 +0100)]
072 release
Kay Sievers [Sat, 5 Nov 2005 21:02:21 +0000 (22:02 +0100)]
fix typo in umask()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 5 Nov 2005 19:32:20 +0000 (20:32 +0100)]
export DEVNAME on "remove" only if we really got a node to remove
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 5 Nov 2005 19:00:31 +0000 (20:00 +0100)]
remove precompiled rules option
It was a workaround for speed up udev "coldplug", where ~800 events
happened a second time during bootup. No need for it with the rules
aleady parsed in the daemon.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 5 Nov 2005 18:41:00 +0000 (19:41 +0100)]
udevd: disable OOM
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 5 Nov 2005 15:22:14 +0000 (16:22 +0100)]
log to console if syslog is not available
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Kay Sievers [Fri, 4 Nov 2005 04:25:15 +0000 (05:25 +0100)]
udevd: don't daemonize before initialization
Move socket init and rule parsing before forking, so we can start
emitting event immediately after udevd has started.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Kay Sievers [Wed, 2 Nov 2005 04:47:18 +0000 (05:47 +0100)]
update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 2 Nov 2005 04:08:22 +0000 (05:08 +0100)]
test: add "driver" and "bus" links to test sysfs tree
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 2 Nov 2005 03:58:59 +0000 (04:58 +0100)]
libsysfs: remove brute-force "bus", "driver" searching for old kernels
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 2 Nov 2005 03:05:06 +0000 (04:05 +0100)]
use libsysfs to translate the class linke to the device path
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 2 Nov 2005 03:04:19 +0000 (04:04 +0100)]
revert the "read symlink as device patch"
It's covered by libsysfs now.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Ananth N Mavinakayanahalli [Wed, 2 Nov 2005 03:02:33 +0000 (04:02 +0100)]
libsysfs: translate devpath of the symlinked class devices to its real path
Jan Luebbe [Mon, 31 Oct 2005 01:10:56 +0000 (02:10 +0100)]
add man pages for *_id programs
I've written manpages for the *_id binaries, which are attached to this
mail.
Kay Sievers [Sat, 29 Oct 2005 19:13:43 +0000 (21:13 +0200)]
remove no longer needed waiting for "dev" file
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Kay Sievers [Fri, 28 Oct 2005 00:29:38 +0000 (02:29 +0200)]
add dummy inotify syscalls on unsupported architecture
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Kay Sievers [Thu, 27 Oct 2005 23:49:22 +0000 (01:49 +0200)]
"STRIPCMD=" for the EXTRAS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 22:29:50 +0000 (00:29 +0200)]
remove no longer working udevd-test program
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 19:49:13 +0000 (21:49 +0200)]
"make STRIPCMD=" will disable the stripping of binaries
Almost all packagers have always patched the stripping out,
cause the buildsystems takes care of it.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 19:04:38 +0000 (21:04 +0200)]
move rules parsing into daemon
The rules files are parsed only once at daemon startup. Every udev
event process will be fork()'d from udevd without exec()'ing the udev
binary. The in-memory rules will be inherited from the daemon itself.
If inotify is available, udevd will reload all rules if any change in
/etc/udev/rules.d/ happens. Otherwise -HUP or "udevcontrol reload_rules"
can be used.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 18:32:07 +0000 (20:32 +0200)]
fix the new warnings I asked for
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 17:38:36 +0000 (19:38 +0200)]
cleanup make release
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 17:14:21 +0000 (19:14 +0200)]
allow to pass STRIPCMD, to skip stripping of binaries
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 16:42:52 +0000 (18:42 +0200)]
use DESTDIR on uninstall, no need to pass prefix to submake
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Kay Sievers [Thu, 27 Oct 2005 16:20:58 +0000 (18:20 +0200)]
cleanup compiler/linker flags
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 27 Oct 2005 11:13:25 +0000 (13:13 +0200)]
FAQ: remove confusing statement about module loading
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 19:13:10 +0000 (21:13 +0200)]
volume_id: Version 052
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 19:12:51 +0000 (21:12 +0200)]
volume_id: fix typo in ext blocksize check
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 17:16:01 +0000 (19:16 +0200)]
volume_id: Version 051
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 17:15:07 +0000 (19:15 +0200)]
volume_id: make FAT32 recognition more robust
FAT32 volumes should never have a cluster count, that fits
into a 16 bit value, but mkdosfs can create such volumes.
No sane formatter or Windows will ever do this, but the
Linux kernel as Windows can read/write it.
Thanks to Ted Ts'o <tytso@mit.edu> for convincing me.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 16:56:30 +0000 (18:56 +0200)]
volume_id: add vxfs include
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 16:55:22 +0000 (18:55 +0200)]
volume_id: fix typo in ocfs
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 16:54:34 +0000 (18:54 +0200)]
volume_id: move blocksize validation to fix jbd recognition
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 15:41:55 +0000 (17:41 +0200)]
volume_id: check ext fs for valid blocksize, cause magic is only 2 bytes
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 14:31:13 +0000 (16:31 +0200)]
volume_id: add Veritas fs
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 23 Oct 2005 14:08:56 +0000 (16:08 +0200)]
volume_id: add OVFS Version 1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 19 Oct 2005 22:28:34 +0000 (00:28 +0200)]
071 release
Kay Sievers [Wed, 19 Oct 2005 21:59:54 +0000 (23:59 +0200)]
libsysfs: accept sysmlinks to directories instead of real directories
Recent changes to the sysfs layout introduced class-devices pointed to
by a symlink, instead of the real object at that location.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 16 Oct 2005 12:16:43 +0000 (14:16 +0200)]
fix selinux compilation
Taken from Red Hat CVS.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 12 Oct 2005 09:55:49 +0000 (11:55 +0200)]
udevd: move logging from err to info for non-hotplug uevent
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 11 Oct 2005 19:06:50 +0000 (21:06 +0200)]
force event socket buffer size to 16MB
Netlink events get lost when the kernel creates thousends of events
faster than udevd reads it. The default is 128 KB, which can carry
app. 500 events. Set it to 16 MB now.
I have 4000 fibrechannel LUNs connected to my system. There are two
paths to the devices and two ports on the host connected via a switch.
This gives 16000 when probed.
I have had problems getting all of the entries in /dev created.
-- Mark Haverkamp <markh@osdl.org>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 3 Oct 2005 14:36:52 +0000 (16:36 +0200)]
udevd: fix initial timeout handling
UDEVD_EVENT_TIMEOUT=0 didn't work directly after udevd startup.
The whole event timeout handling is not needed since we use netlink.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 3 Oct 2005 14:28:11 +0000 (16:28 +0200)]
clarify README
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
<gregkh@suse.de> [Tue, 27 Sep 2005 15:12:09 +0000 (08:12 -0700)]
Merge branch 'master' from gregkh@/linux/hotplug/udev
<gregkh@suse.de> [Tue, 27 Sep 2005 15:11:31 +0000 (08:11 -0700)]
Remove the udev.spec file as no one uses it anymore
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Kay Sievers [Tue, 27 Sep 2005 14:43:27 +0000 (16:43 +0200)]
update Debian persistent rules
Kay Sievers [Tue, 27 Sep 2005 14:38:43 +0000 (16:38 +0200)]
add edd-*-part%n to the persistent.rules
Thanks to:
Marco d'Itri <md@Linux.IT>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 27 Sep 2005 14:27:35 +0000 (16:27 +0200)]
switch tools and volume_id from LGPL to GPLv2
After beeing hit by proprietary applications which statically
link the LGPL'd libusb, which needs a patch to reflect the recent
kernel changes, I decided not to provide LGPL code anymore.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 27 Sep 2005 13:05:34 +0000 (15:05 +0200)]
remove no longer needed includes
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 23 Sep 2005 07:51:49 +0000 (09:51 +0200)]
update Debian rules
Kay Sievers [Sun, 18 Sep 2005 03:37:33 +0000 (05:37 +0200)]
update Fedora rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 18 Sep 2005 03:34:05 +0000 (05:34 +0200)]
update Debian rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 18 Sep 2005 03:08:52 +0000 (05:08 +0200)]
update devfs rules header
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 18 Sep 2005 03:06:10 +0000 (05:06 +0200)]
volume_id: set reiser instead of reiserfs for filesystem type
Thanks to Theodore Ts'o <tytso@mit.edu> for the hint and a test image.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 18 Sep 2005 02:49:23 +0000 (04:49 +0200)]
scsi_id: switch temporary node creation to /dev
/tmp is not writable on most systems, so just use /dev to create a
temporary node. If called from a udev rule, "-d $tempnode" should be
used and udev will create a temporary node and pass the name before
calling scsi_id.
Also remove gen_scsi_id_udev_rules.sh per Patrick's request, as it's
no longer needed with the persistent disk links.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 18 Sep 2005 02:41:09 +0000 (04:41 +0200)]
add "Persistent Device Naming" rules file for disks
Based on:
"Linux Persistent Device Naming", 2004, Hannes Reinecke <hare@suse.de>
Kay Sievers [Fri, 16 Sep 2005 19:23:36 +0000 (21:23 +0200)]
ata_id: open volume O_NONBLOCK
Opticals like that and should be ok for disks too, as long as we
don't read().
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
John Hull [Fri, 16 Sep 2005 19:10:12 +0000 (21:10 +0200)]
edd_id: check that EDD id is unique
The attached patch adds a check to edd_id.c to verify that the MBR
signature on the device node passed to the program is unique to only
that disk.
Signed-off-by: John Hull <john_hull@dell.com>
Marco d'Itri [Fri, 16 Sep 2005 19:05:15 +0000 (21:05 +0200)]
run_directory: fix typo in "make install"
Greg KH [Wed, 14 Sep 2005 23:19:07 +0000 (16:19 -0700)]
070 release
Kay Sievers [Wed, 14 Sep 2005 19:12:08 +0000 (21:12 +0200)]
update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Edward Goggin [Wed, 14 Sep 2005 18:23:48 +0000 (20:23 +0200)]
scsi_id: derive a UID for a SCSI-2 not compliant with the page 83
This patch is to enable the use of scsi_id to derive a UID for a SCSI-2
device which is not compliant with the page 83 inquiry reply format for
either SPC-2 or SPC-3. In this case, the page 83 reply does not
contain a list of Identification descriptors but a single binary encoded
hexa-decimal Vendor Specified Identifier.
The update is being driven by the need for scsi_id to support older
model EMC Symmetrix hardware, that is, models 4, 5, and 6.
Kay Sievers [Wed, 14 Sep 2005 15:29:27 +0000 (17:29 +0200)]
add install test to 'make buildtest'
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 14 Sep 2005 15:00:02 +0000 (17:00 +0200)]
EXTRAS: cleanup and sync all Makefiles
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 14 Sep 2005 12:29:59 +0000 (14:29 +0200)]
volume_id: fix error handling with failing read()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Olivier Blin [Wed, 14 Sep 2005 12:28:59 +0000 (14:28 +0200)]
fix a debug text typo in udev_rules.c
Amir Shalem [Wed, 14 Sep 2005 12:28:13 +0000 (14:28 +0200)]
udevd: fix udevd read() calls to leave room for null byte
Jürg Billeter [Wed, 14 Sep 2005 12:27:28 +0000 (14:27 +0200)]
EXTRAS/Makefile: fix install targets to match main Makefile
Greg KH [Tue, 13 Sep 2005 21:10:27 +0000 (14:10 -0700)]
fix nbd error messages with a gentoo rule hack
Greg KH [Tue, 13 Sep 2005 17:39:07 +0000 (10:39 -0700)]
fix scsi_id rule in gentoo config file
Greg KH [Tue, 13 Sep 2005 17:24:51 +0000 (10:24 -0700)]
069 release
Kay Sievers [Mon, 12 Sep 2005 14:00:09 +0000 (16:00 +0200)]
FAQ: update things that have changed
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 12 Sep 2005 13:26:33 +0000 (15:26 +0200)]
fic gcov use and move it into the Makefile
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 12 Sep 2005 12:28:59 +0000 (14:28 +0200)]
remove chassis_id program
Broken and unmaintained!
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 12 Sep 2005 12:21:14 +0000 (14:21 +0200)]
Makefile: cleanup install targets
Split into individual target and never remove any config file.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 10 Sep 2005 21:35:30 +0000 (23:35 +0200)]
Makefile: fix prerequisits for $(PROGRAMS)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Duncan Sands [Fri, 9 Sep 2005 10:38:58 +0000 (12:38 +0200)]
firmware_helper: fix write count
Kay Sievers [Thu, 8 Sep 2005 10:45:09 +0000 (12:45 +0200)]
update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 8 Sep 2005 10:24:18 +0000 (12:24 +0200)]
fix useless but funny name_cdrom.pl script to work again
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 8 Sep 2005 01:53:54 +0000 (03:53 +0200)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 8 Sep 2005 01:49:23 +0000 (03:49 +0200)]
add "totally outdated" header to docs/overview :)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 8 Sep 2005 01:38:06 +0000 (03:38 +0200)]
delete old Fedora html page
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 8 Sep 2005 01:36:45 +0000 (03:36 +0200)]
delete docs/persistent_naming - obsoleted by persistent disk names
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 8 Sep 2005 01:34:34 +0000 (03:34 +0200)]
delete cdromsymlinks* - obsoleted by cdrom_id and IMPORT rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 6 Sep 2005 20:57:07 +0000 (22:57 +0200)]
klibc: update to version 1.1.1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 6 Sep 2005 18:33:59 +0000 (20:33 +0200)]
move and update libsysfs.txt
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 6 Sep 2005 10:18:04 +0000 (12:18 +0200)]
add edd_id tool to match BIOS EDD disk information
Thanks to:
John Hull <John_Hull@Dell.com>
Matt Domsch <Matt_Domsch@Dell.com>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 31 Aug 2005 21:36:25 +0000 (23:36 +0200)]
scsi_id: rename SYSFS to LIBSYSFS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 31 Aug 2005 00:35:35 +0000 (02:35 +0200)]
udevinfo: restore -d option
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 30 Aug 2005 22:03:20 +0000 (00:03 +0200)]
also forgot udevmonitor.8
Signed-off-by: Kay Sievers <kay.sievers@suse.de>