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

1267 Commits

Author SHA1 Message Date
kay.sievers@vrfy.org
8f2f6e426f [PATCH] cleanup db functions 2005-04-26 23:36:13 -07:00
kay.sievers@vrfy.org
311a2b0a1d [PATCH] clean up match_place() 2005-04-26 23:36:13 -07:00
kay.sievers@vrfy.org
5ef4268205 [PATCH] switch device type to enum 2005-04-26 23:36:13 -07:00
kay.sievers@vrfy.org
7e720bd4ad [PATCH] switch major/minor to dev_t 2005-04-26 23:36:13 -07:00
kay.sievers@vrfy.org
1cec1c2416 [PATCH] remove the device node only if the major/minor number matches 2005-04-26 23:36:13 -07:00
kay.sievers@vrfy.org
3f930093f9 [PATCH] libsysfs: work around a klibc bug 2005-04-26 23:36:13 -07:00
kay.sievers@vrfy.org
fd9efc00a2 [PATCH] introduce OPTIONS=ignore_device, ignore_remove, all_partitions" key
Here we move all possible options into a own key to make it possible
to have options-only rules.

The options on the NAME key are removed from the man page and will
be removed from a future version of udev.

For ignore rules, OPTIONS="ignore" should be used.

The rule:
  SUBSYSTEM="block", SYSFS{removable}="1", OPTIONS="all_partitions"

will create all partitions for a block device which is known to have
removable media (a check for cdrom drives would be needed too).
2005-04-26 23:36:12 -07:00
kay.sievers@vrfy.org
e57e7bc108 [PATCH] namedev: execute PROGRAM only once and not possibly for every physical device 2005-04-26 23:36:12 -07:00
kay.sievers@vrfy.org
03a9875bc3 [PATCH] namedev: move some matches out of the parent loop 2005-04-26 23:36:12 -07:00
kay.sievers@vrfy.org
82b1698314 [PATCH] namedev: if SUBSYSTEM or KERNEL key doesn't match, give up immediately
We don't need to look at the parents in the device chain. There
will never be another kernel name or subsystem.
2005-04-26 23:35:15 -07:00
kay.sievers@vrfy.org
f51d8ec661 [PATCH] udevinfo: print SUBSYSTEM and DRIVER 2005-04-26 23:35:15 -07:00
gregkh@suse.de
5d2d1e7e85 [PATCH] 053 release 2005-04-26 23:35:15 -07:00
gregkh@suse.de
bc4235d38e [PATCH] fix gentoo fb permission issue. 2005-04-26 23:35:15 -07:00
gregkh@suse.de
5f2a5816cf [PATCH] allow simple-build-check.sh to go faster if MAKEOPTS is set
This lets my multiprocessor boxes do the testing quicker...
2005-04-26 23:35:15 -07:00
gregkh@suse.de
6b3df4310f [PATCH] make the release tarballs have writable files in them. 2005-04-26 23:35:15 -07:00
patmans@us.ibm.com
07544a93d6 [PATCH] scsi_id changes for use with udev %N and %p
Changes to scsi_id to support the udev %N and %p substitutions:

- Update version from .7 to .8

- change TMP_DIR back to /tmp

- if DEVPATH is set assume hotplug_mode (use syslog for logging, and does
  not output some warnings)

- Always output a newline after the id is printed

- Allow command line options to override settings when hotplug_mode is set

- update man page

- update generator script to use the %N and %p substitutions.
2005-04-26 23:35:15 -07:00
greg@kroah.com
20da7623c7 [PATCH] remove gentoo permission file as it's not valid anymore. 2005-04-26 23:35:15 -07:00
kay.sievers@vrfy.org
d384abd2bd [PATCH] udev_volume_id: fix typo 2005-04-26 23:34:04 -07:00
patmans@us.ibm.com
fd42f6a170 [PATCH] fix test for temporary nodes 2005-04-26 23:34:01 -07:00
kay.sievers@vrfy.org
6a24dc7477 [PATCH] fix special file mode mask for temporary device node 2005-04-26 23:33:50 -07:00
kay.sievers@vrfy.org
f22e9686fd [PATCH] udevstart: simplify "dev" file searching
Just stat() the "dev" file in the device directory instead of
opening the directory and iterating over all entries.

Make udevstart work with the settings in with udev.conf so we can
run a test program.

Add a test for udevstart.

Remove changelog stuff from code. We should never start with this
silly thing.
2005-04-26 23:31:07 -07:00
kay.sievers@vrfy.org
27753a3cf7 [PATCH] udev_volume_id: remove temporary node creation and parent handling
udev can create the temporary node for us now. (On bootup we don't
know where a writable filesystem is mounted). Also the parent handling
is not needed anymore, cause udev is able to pass us the node name
of the parent device.
2005-04-26 23:31:05 -07:00
kay.sievers@vrfy.org
69aa6dfb70 [PATCH] add %P modifier to query the node name of the parent device
Events for partition devies may want to read the main block device
name to compose it's own name or read a disklabel from the main device.

SUBSYSTEM="block", KERNEL="*[1-9]", NAME="%P-p%n"
will append the partition number to the name of the main block device.
2005-04-26 23:31:03 -07:00
kay.sievers@vrfy.org
866bb54704 [PATCH] udev_volume_id: remove __packed__ from dasd structure as it does not work 2005-04-26 23:31:02 -07:00
greg@kroah.com
1d62f6e2de [PATCH] 052 release 2005-04-26 23:28:12 -07:00
greg@kroah.com
3a030b511f [PATCH] fix example comment in ide-devfs.sh 2005-04-26 23:28:12 -07:00
greg@kroah.com
ee2427d3da [PATCH] Add infiniband to gentoo rules. 2005-04-26 23:28:12 -07:00
greg@kroah.com
990f059b1e [PATCH] Another gentoo fix, adding dvb support. 2005-04-26 23:28:12 -07:00
greg@kroah.com
d35f580b25 [PATCH] Fix gentoo bug #76056 (fb device group permissions.) 2005-04-26 23:28:12 -07:00
greg@kroah.com
fcbb427e0e [PATCH] Fix gentoo bug #81102, device nodes for the pktcdvd device. 2005-04-26 23:28:12 -07:00
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