1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 20:25:38 +03:00
Commit Graph

1137 Commits

Author SHA1 Message Date
kay.sievers@vrfy.org
6d56416665 [PATCH] create /block/*/range count of partitons for all_partitions 2005-04-26 23:27:41 -07:00
kay.sievers@vrfy.org
c1ab046124 [PATCH] provide temporary device node for callouts to access the device
%N will create a temporary node for a callout a be sustituted with the
name of the node.
2005-04-26 23:27:32 -07:00
kay.sievers@vrfy.org
bce52be81e [PATCH] udev_volume_id: fix dasd disklabel reading with -l option 2005-04-26 23:27:03 -07:00
kay.sievers@vrfy.org
9d4791b66a [PATCH] udev_volume_id: volume_id version 034 2005-04-26 23:26:14 -07:00
mbuesch@freenet.de
e39515ac1f [PATCH] trivial: remove _all_ trailing slashes with no_trailing_slash()
This changes no_trailing_slash() to remove all trailing slashes
and not just the last one.
2005-04-26 23:26:07 -07:00
mbuesch@freenet.de
85925517e6 [PATCH] trivial: fix signedness
We are already using %u in the sscanf() format string.
The patch replaces the int for the kernel release number with
unsigned int, as we can never have negative release numbers.
2005-04-26 23:24:20 -07:00
md@Linux.IT
36429eef37 [PATCH] debian: update rules files 2005-04-26 23:24:20 -07:00
md@Linux.IT
882b97455b [PATCH] raid-devfs.sh: devfs names for hardware RAID controllers 2005-04-26 23:24:20 -07:00
md@Linux.IT
fd3eeb7502 [PATCH] scsi_id: when udevstart is started, /tmp is not writeable. 2005-04-26 23:24:20 -07:00
md@Linux.IT
0c50db890e [PATCH] cdsymlinks.sh: trivial fix, the variable is initialized to '', not 0 2005-04-26 23:24:20 -07:00
sschweizer@gmail.com
c7a84d7556 [PATCH] gentoo/udev.rules: add default permissions for sound devices 2005-04-26 23:24:20 -07:00
mbuesch@freenet.de
3887557706 [PATCH] namdev: allow symlink-only rules to specify node permissions
First case without the patch:
KERNEL="hd*", GROUP="disk", MODE="0660"
KERNEL="hdc", SYMLINK="cdrecorder", MODE="0666"
brw-rw----  1 root disk 22, 0 Feb  5 14:08 /dev/hdc

Second case without the patch:
KERNEL="hd*", GROUP="disk", MODE="0660"
KERNEL="hdc", MODE="0666"
brw-rw-rw-  1 root disk 22, 0 Feb  5 14:08 /dev/hdc
2005-04-26 23:24:19 -07:00
mbuesch@freenet.de
0786e8e541 [PATCH] udevd: fix valgrind warning
==4304== Syscall param sigaction(act) contains uninitialised or unaddressable byte(s)
==4304==    at 0x804A37B: (within /sbin/udevd)
==4304==  Address 0x52BFE7FC is on thread 1's stack
2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
d9cf0b0a7c [PATCH] udev_volume_id: rename probe_ibm into probe_dasd 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
7979e3d4b7 [PATCH] udev_volume_id: volume_id version 032 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
51df9ee496 [PATCH] Makefile: add some more warnings and prepare for clean gcc4 compile 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
045b1f0f7a [PATCH] Makefile: cleanup conditional config option sections 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
1134a81b98 [PATCH] fix -Wsign-compare warnings 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
9172c95c77 [PATCH] chassis_id: clean compilation and fix bad function parameter passing
Adding prototypes for functions resulted in an error, cause:
  table_find_disk(disk_snum, &chassis_num, &slot_num);

is called but the function is defined as:
  int table_find_disk(char *serialnumber , int *host_num, int *chassis_num, int *slot_num)

which can obviously not work correctly.

Using popen() is not klibc compatible, so skip the compilation if
a klibc compile is requested.
2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
61599bdd06 [PATCH] simple_build_check: make it possible to pass KERNEL_DIR 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
fbda4a34d8 [PATCH] selinux: cleanup udev integration
Move code into a .c-file instead of big inline functions in a header file.
Pass the device name down instead of relying that the node name is equal
to the kernel name.
2005-04-26 23:24:19 -07:00
greg@kroah.com
9badc83e4f [PATCH] 051 release 2005-04-26 23:24:19 -07:00
greg@kroah.com
d25e14ae1e [PATCH] gentoo fb permission fix. 2005-04-26 23:24:19 -07:00
mbuesch@freenet.de
85a953c0ee [PATCH] The attached patch fixes the code path if namedev_name_device() fails. 2005-04-26 23:24:19 -07:00
kay.sievers@vrfy.org
c033fd9f01 [PATCH] udev_volume_id: new version of volume_id
Every filesystem has its own subdirectory.
The IBM dasd label reading is included into volume_id.
2005-04-26 23:24:19 -07:00
cborntra@de.ibm.com
61b24e5e19 [PATCH] udev_volume_id: fix -d option
The -d option in udev_allows to go from a partition to the underlying disk
for s390 dasd labels. If the device is already the disk itself, finding the 
parent will fail, therefore -d on /sys/block/dasda/ for example gives no 
result at all.
2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
43ca395e49 [PATCH] klibc: update to version 0.198 2005-04-26 23:21:58 -07:00
greg@kroah.com
6142386306 [PATCH] remove the lfs startup script on request of the author.
The distro now has its own version, so this one is not needed.
2005-04-26 23:21:58 -07:00
greg@kroah.com
83e1f809c9 [PATCH] clean up the aoe char device rules, and delete the block one as it's not needed. 2005-04-26 23:21:58 -07:00
greg@bucket.kroah.org
aa7f11f470 [PATCH] fix gcc 2.96 issue in libsysfs 2005-04-26 23:21:58 -07:00
hare@suse.de
94f88ba5ee [PATCH] rearrange link order in Makefile
The link-order in the main Makefile is not quite correct (sysfs should
be linked after udev.a) which might cause the build to fail.
2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
eb064000ca [PATCH] udev_volume_id: fix FAT label reading 2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
c3a8dac6ff [PATCH] klibc: update to version 0.196 2005-04-26 23:21:58 -07:00
tklauser@access.unizh.chbk
5178355672 [PATCH] I tried to compile udev 050plus with the GCC 4.0 snapshot 200412119 and 2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
085cce379a [PATCH] udevd: throttle the forking of processes
If the system reaches a defined limit of processes in running state, udevd
starts to count its own processes in running state from its session (all
forked hotplug child processes, subprocesses and callouts) and throttles
further process forking if the limit is reached.
  
This should help setups with hundreds of events emitted hotplug events
in parallel with hundreds of processes in "R" state. which makes the machine
unresponsible.
  
I placed a 100% cpu time consuming program in /etc/hotplug.d/ which runs for 5
seconds. With this patch I can load "scsi_debug add_host=100" without any major
problem. Without the patch the box is completly unresponsible for many minutes.
2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
1e26698933 [PATCH] udevd: add possible initialization of expected_seqnum
UDEVD_EXPECTED_SEQNUM=$[`cat /sys/kernel/hotplug_seqnum` + 1] ./udevd -d
will init udevd, so the next event will not wait for any timeout.
2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
ce043f851d [PATCH] udevd: it's obviously not the brightest idea to exit a device node manager if it doesn't find /dev/null 2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
c2cf40123f [PATCH] udevd: separate socket handling to prepare for other event sources 2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
f15515b59f [PATCH] udevd: support -d switch to become a daemon 2005-04-26 23:21:58 -07:00
greg@kroah.com
78b574cfcd [PATCH] add aoe block and char device rules to the gentoo rule file. 2005-04-26 23:21:58 -07:00
kay.sievers@vrfy.org
240ce55179 [PATCH] udev_volume_id: version 27
Fix FAT label reading bug for very large volumes.
Recognize FAT label at Win98 formatted volumes.
Read iso9660 joliet descriptor for unicode labels.
Support uuid/label of swap partitions.
2005-04-26 23:21:58 -07:00
roland@digitalvampire.org
adf3af8c35 [PATCH] This fixes a silly mistake in how udevinfo prints the major and minor 2005-04-26 23:21:57 -07:00
kay.sievers@vrfy.org
021a294c04 [PATCH] udevd: split up message receiving an queueing 2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org
ddf695023f [PATCH] remove useless warning if udev.conf contains keys not read by udev itself 2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org
7b6571a9fc [PATCH] improve event sequence serialization
We delay the execution of events if there is already an event running for
the same device, a parent or a child device. "add" events with a reference
to a physical device will also wait for the physical device to finish.
  
Here we fix the devpath comparison logic to return "busy" only if a complete
device names is matching. /block/sdaa will not longer block a /block/sda event.
2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org
e750d24b05 [PATCH] remove udevsend syslog noise on udevd startup 2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org
8b72687876 [PATCH] limit the initial timeout of the udevd event handling
Define an inititialization phase, where we delay the events only
for a short time to eventually recollect the event sequence instead
of delaying the very first events for 10 seconds, which breaks the
firmware loader.
2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org
d3c3763530 [PATCH] correct detection of hotplug.d/ udevsend loop
If udevsend is called from the commandline the env may be too
big to fit in our buffer and we tag the message.
2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org
3908058c10 [PATCH] correct log statement 2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org
b9a8c4821a [PATCH] remove default_* permissions from udev.conf file
With the "permissions only rules" we can just place:
 
   MODE="0660", OWNER="root", GROUP="root"
 
at the beginning of the rules file and get exactly the same behavior.
If no values are given the compiled-in defaults are used.
2005-04-26 23:19:09 -07:00