Commit graph

13 commits

Author SHA1 Message Date
Kay Sievers 7d6ffc7216 rule_generator: fix wrong DRIVERS!= logic
Thanks to Matthias for identifying that.
2007-08-21 23:05:47 +02:00
Marco d'Itri 0837c28e9b rules_generator: fix write_cd_rules when similar names exist in the root directory
The argument to find_all_rules must be quoted or it will be subject to
shell expansion, which will happen if in the root directory there are
mount points with the same base name.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407738 for details.
2007-08-07 10:39:07 +02:00
Marco d'Itri 14e1e49484 rules_generator: remove policy from write_cd_rules
The decision about when to create by-id or by-path persistent rules should
be made in the generator rules file where it's obvious and easy to modify
locally, not in the script.
2007-08-07 10:37:58 +02:00
Kay Sievers dcfa2acce3 rules_generator: skip random MAC addresses 2007-08-02 21:19:41 +02:00
Kay Sievers 9b23e594bf rules_generator: remove "installation" function
This should be called by triggering events not by looping with
the script itself. It also keeps a second blacklist outside of
the rules which we do not want to maintain.
2007-07-25 18:16:11 +02:00
Hannes Reinecke 49369cafe4 rules_generator: add S/390 persistent network support 2007-07-25 15:42:39 +02:00
Kay Sievers c51d06d3b7 rules_generator: remove executable flag from include file 2007-06-25 16:02:38 +02:00
Matthias Schwarzott 491a6a71ff write_cd_rules: set default link type to "by-id" for usb and ieee1394 devices 2007-03-22 21:05:56 +01:00
Matthias Schwarzott 1f889fb84f rule_generator: fix for creating rules on read-only filesystem 2007-02-26 15:07:42 +01:00
Peter Breitenlohner 86f4ea067e fix INSTALL_PROGRAM vs. INSTALL_SCRIPT 2007-01-21 15:48:58 +01:00
Marco d'Itri 64e6d9dd70 write_cd_rules: identity-based persistence
Bryan Kadzban wrote:
> Marco d'Itri wrote:
> > Bryan Kadzban wrote:
> >
> > > This is a sort of follow-up of my path-based persistence patch for
> > > net devices; it's the opposite type of addition for CD symlinks.
> >
> > Looks good. I am attaching a slightly reformatted version, I think it
> > should be applied.
>
> That's probably a lot more clear than my version anyway: what you posted
> looks like it does basically the same thing, just with some changes in
> the order and sense of checks.
2006-11-27 10:34:43 +01:00
Kay Sievers 8091f6a90c rule_generator: improve net rule comment generation 2006-09-09 14:45:45 +02:00
Marco d'Itri fbcbf70bb2 add persistent rules generator for net devices and optical drives 2006-09-05 15:20:28 +02:00