Commit Graph

1604 Commits

Author SHA1 Message Date
Kay Sievers
586e1a37ef fix selinux compilation
Taken from Red Hat CVS.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-16 14:16:43 +02:00
Kay Sievers
dfedc446db udevd: move logging from err to info for non-hotplug uevent
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-12 11:55:49 +02:00
Kay Sievers
a5c606f6c3 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>
2005-10-11 21:06:50 +02:00
Kay Sievers
133326dc74 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>
2005-10-03 16:36:52 +02:00
Kay Sievers
c2df8b5f51 clarify README
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-03 16:28:11 +02:00
9bd72b9b6b Merge branch 'master' from gregkh@master.kernel.org:/pub/scm/linux/hotplug/udev 2005-09-27 08:12:09 -07:00
3162a25fd3 Remove the udev.spec file as no one uses it anymore
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-09-27 08:11:31 -07:00
Kay Sievers
af2703d39a update Debian persistent rules 2005-09-27 16:43:27 +02:00
Kay Sievers
144d1c9707 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>
2005-09-27 16:38:43 +02:00
Kay Sievers
2321ba6fd8 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>
2005-09-27 16:27:35 +02:00
Kay Sievers
2d8af104e0 remove no longer needed includes
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-27 15:05:34 +02:00
Kay Sievers
6e01a73fc3 update Debian rules 2005-09-23 09:51:49 +02:00
Kay Sievers
5bd4c5d72a update Fedora rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18 05:37:33 +02:00
Kay Sievers
449ac79193 update Debian rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18 05:34:05 +02:00
Kay Sievers
800c36cd64 update devfs rules header
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18 05:08:52 +02:00
Kay Sievers
3a9fc64167 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>
2005-09-18 05:06:10 +02:00
Kay Sievers
0e5f8a1fcc 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>
2005-09-18 04:49:23 +02:00
Kay Sievers
a3f129d054 add "Persistent Device Naming" rules file for disks
Based on:
  "Linux Persistent Device Naming", 2004, Hannes Reinecke <hare@suse.de>
2005-09-18 04:41:09 +02:00
Kay Sievers
3515c0ad00 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>
2005-09-16 21:23:36 +02:00
John Hull
4b12433517 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>
2005-09-16 21:10:12 +02:00
Marco d'Itri
77914dfeda run_directory: fix typo in "make install" 2005-09-16 21:05:15 +02:00
Greg KH
8355c61b48 070 release 2005-09-14 16:19:07 -07:00
Kay Sievers
b0f6529556 update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 21:12:08 +02:00
Edward Goggin
50be140174 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.
2005-09-14 20:23:48 +02:00
Kay Sievers
85701baede add install test to 'make buildtest'
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 17:29:27 +02:00
Kay Sievers
db28d2ea4f EXTRAS: cleanup and sync all Makefiles
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 17:00:02 +02:00
Kay Sievers
726b21604a volume_id: fix error handling with failing read()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 14:29:59 +02:00
Olivier Blin
129979643f fix a debug text typo in udev_rules.c 2005-09-14 14:28:59 +02:00
Amir Shalem
b4f192f054 udevd: fix udevd read() calls to leave room for null byte 2005-09-14 14:28:13 +02:00
Jürg Billeter
1ac216b198 EXTRAS/Makefile: fix install targets to match main Makefile 2005-09-14 14:27:28 +02:00
Greg KH
8c65c6a1be fix nbd error messages with a gentoo rule hack 2005-09-13 14:10:27 -07:00
Greg KH
23fd5f886c fix scsi_id rule in gentoo config file 2005-09-13 10:39:07 -07:00
Greg KH
a2c7b2173a 069 release 2005-09-13 10:24:51 -07:00
Kay Sievers
9d97f3bb79 FAQ: update things that have changed
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12 16:00:09 +02:00
Kay Sievers
a8b38f1c44 fic gcov use and move it into the Makefile
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12 15:26:33 +02:00
Kay Sievers
852cc0f58d remove chassis_id program
Broken and unmaintained!

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12 14:28:59 +02:00
Kay Sievers
17d3cb1288 Makefile: cleanup install targets
Split into individual target and never remove any config file.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12 14:21:14 +02:00
Kay Sievers
7a526da67d Makefile: fix prerequisits for $(PROGRAMS)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-10 23:35:30 +02:00
Duncan Sands
609435bad6 firmware_helper: fix write count 2005-09-09 12:38:58 +02:00
Kay Sievers
f432183eb8 update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 12:45:09 +02:00
Kay Sievers
aab571f362 fix useless but funny name_cdrom.pl script to work again
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 12:24:18 +02:00
Kay Sievers
86eeb30e0c update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 03:53:54 +02:00
Kay Sievers
14e31b3502 add "totally outdated" header to docs/overview :)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 03:49:23 +02:00
Kay Sievers
b90f1b8189 delete old Fedora html page
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 03:38:06 +02:00
Kay Sievers
619d548faa delete docs/persistent_naming - obsoleted by persistent disk names
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 03:36:45 +02:00
Kay Sievers
fc04985839 delete cdromsymlinks* - obsoleted by cdrom_id and IMPORT rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 03:34:34 +02:00
Kay Sievers
b2652e6b29 klibc: update to version 1.1.1
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06 22:57:07 +02:00
Kay Sievers
3ce0d7b202 move and update libsysfs.txt
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06 20:33:59 +02:00
Kay Sievers
077ed27c55 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>
2005-09-06 12:18:04 +02:00
Kay Sievers
7596a56298 scsi_id: rename SYSFS to LIBSYSFS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31 23:36:25 +02:00