Commit Graph
1954 Commits
Author SHA1 Message Date
Kay Sievers 8091f6a90c rule_generator: improve net rule comment generation 2006-09-09 14:45:45 +02:00
Kay Sievers c7c00276f6 udevd: add --debug-trace option 2006-09-08 11:30:00 +02:00
Kay Sievers 9e8fe79b8e udevd: add --verbose option to log also to stdout 2006-09-08 11:28:38 +02:00
Kay Sievers b52a01ee39 udevd: use getopt_long() 2006-09-08 11:27:03 +02:00
Kay Sievers adc8e4b91e remove Makefile magic for leading '0' in version 2006-09-07 11:49:51 +02:00
Kay Sievers eed8b2ff91 release 100 2006-09-07 11:32:45 +02:00
Kay Sievers 1376ba59f6 revert persistent-storage ata-serial '_' '-' replacement
It's not worth changing it, also scsi usually has an underscore
in the SERIAL string itself:
  scsi-SSEAGATE_ST3146854SS_3KN0JH8600008609GTBW
  scsi-SATA_HTS726060M9AT00_MRH453M4HWHG7B
2006-09-07 11:30:29 +02:00
Kay Sievers 4febf7f076 man: add $attr{} section about symlinks 2006-09-07 11:08:07 +02:00
Kay Sievers 070cdac978 fix messed up ChangeLog from release 099 2006-09-06 23:18:28 +02:00
Kay Sievers eb0fd1eea9 update SUSE rules 2006-09-06 22:51:30 +02:00
Kay Sievers 4a51530993 release 099 2006-09-06 22:18:04 +02:00
MUNEDA Takahiro 0b07eaa083 changes rules for ata disk from '_' to '-'
by-id symlink rules for ata disk only have '_' before
$env{ID_SERIAL}. The rules for SCSI disk, SCSI tape, mouse,
event are not '_' but '-'
2006-09-06 22:08:20 +02:00
Marco d'Itri fbcbf70bb2 add persistent rules generator for net devices and optical drives 2006-09-05 15:20:28 +02:00
Kay Sievers d60fd52af8 remove broken name_cdrom.pl
We never get an event on media change, so this script can't work.
2006-09-05 14:00:47 +02:00
Kay Sievers 492e76c9c1 udevinfo: do not show symlinks as attributes in --attribute-walk 2006-09-05 13:54:08 +02:00
Kay Sievers e136a3360b cdrom_id: add rules file to call cdrom_id 2006-09-05 03:43:14 +02:00
Kay Sievers eef5447934 let $attr{symlink} return the last element of the path
Example for /block/sda:
  SUBSYSTEMS="scsi", ENV{COMMENT}="$attr{driver}"
sets COMMENT=sd
  SUBSYSTEMS="pci", ENV{COMMENT}="$attr{driver}"
sets COMMENT=ata_piix
2006-09-05 02:18:06 +02:00
Kay Sievers ac528431dd fix ENV{TEST}="Test: $env{TEST}" 2006-09-05 00:50:25 +02:00
Kay Sievers 64e0ce85de udevinfo: fix SUBSYTEMS spelling error 2006-09-03 17:47:27 +02:00
Sergey Vlasov f14326adfe fix "subsytem" typo 2006-09-03 14:13:11 +02:00
Sergey Vlasov e97717bac2 make struct option arrays static const 2006-09-03 14:12:51 +02:00
Greg KH c3d6ca8767 update Gentoo rules 2006-09-03 06:09:40 +02:00
Kay Sievers ee6b4b9501 reorder options in udevinfo man page 2006-09-03 05:46:52 +02:00
Kay Sievers 7c27c752a2 udevtrigger: fix pattern match 2006-09-03 05:45:51 +02:00
Kay Sievers 051445e078 udevd: use files instead of symlinks for /dev/.udev/queue,failed 2006-09-03 04:44:33 +02:00
Kay Sievers 11f1bb5ab4 udevinfo: use long options 2006-09-03 04:05:20 +02:00
Kay Sievers a44a30f664 udevtrigger: remove unused longindex 2006-09-03 03:36:20 +02:00
Kay Sievers fc89fe7edf udevtrigger: options to filter by subsystem and sysfs attribute 2006-09-03 03:04:20 +02:00
Kay Sievers 3c2081fcb7 update TODO 2006-09-02 14:26:44 +02:00
Kay Sievers 7b08597467 udevtest: print header that ENV{} can't work 2006-08-28 02:38:53 +02:00
Kay Sievers 27b77df44d update source file headers 2006-08-28 00:29:11 +02:00
Marco d'Itri b83b299141 run_program: close pipe fd's which are connected to child process
When udev_log="debug", the children of udev inherit the file
descriptors of the pipes used to capture output. If they are not
properly closed then udev will not exit until all programs started
in the background by the children are terminated or have closed the
fds themselves, and this may cause deadlocks with udevsettle.
2006-08-27 02:53:16 +02:00
Marco d'Itri a1e6bd93d3 update Debian rules 2006-08-27 02:28:31 +02:00
Kay Sievers 5780be9eab rename major/minor variable to maj/min to avoid warning 2006-08-24 10:25:34 +02:00
Kay Sievers cea61f5c03 use fnmatch() instead of our own pattern match code 2006-08-24 09:03:15 +02:00
Kay Sievers 34bb5d057c udev_db.c: include <sys/stat.h> 2006-08-24 00:13:07 +02:00
Kay Sievers 56f914e63b 098 release 2006-08-23 01:32:25 +02:00
Marco d'Itri 49e7f5a05f update Debian rules 2006-08-23 01:20:56 +02:00
Marco d'Itri 2f64aa4056 fix rc when using udev --daemon 2006-08-22 23:20:15 +02:00
Kay Sievers 02adc0cbd6 man: add ATTR{file}="value" assignment 2006-08-21 02:39:22 +02:00
Kay Sievers e3e7358137 db: don't create a db file for only a node name to store 2006-08-21 02:38:48 +02:00
Kay Sievers e3396a2d38 cleanup commandline argument handling
Print and log failure, but don't fail for tools which are
usually not used iteractively. Add '--help' to all tools.
2006-08-21 02:38:20 +02:00
Kay Sievers c4edd0adb5 use new key names in test programs 2006-08-20 19:11:32 +02:00
Kay Sievers 8bb39322f0 always expect KEY{value} on ATTR, ATTRS, ENV keys 2006-08-20 19:08:37 +02:00
Kay Sievers 3a020a85da remove built-in /etc/passwd /etc/group parser 2006-08-20 18:25:57 +02:00
Kay Sievers 5c51e31e0e vol_id: use primary group of 'nobody' instead of 'nogroup'
This fixes a Fedora issue not having the group 'nogroup'.
2006-08-20 18:24:34 +02:00
Kay Sievers 708cb35941 volume_id: add suspend partition detection
Based on a patch from:
  Scott James Remnant <scott@ubuntu.com>
2006-08-20 18:23:48 +02:00
Kay Sievers 04cc3a81d0 udevtrigger: add --retry-failed 2006-08-20 18:22:44 +02:00
Marco d'Itri 3770f6093f fix 'unknow user' error from getpwnam/getgrnam 2006-08-20 18:21:50 +02:00
Kay Sievers c472055c90 fix typo in SUBSYSTEMS key parsing 2006-08-20 18:20:55 +02:00