From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Vidner Date: Fri, 15 Apr 2011 11:43:16 +0000 Subject: a library for udev rules? Message-Id: <20110415114316.GA14399@trikolka.suse.cz> MIME-Version: 1 Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga" List-Id: To: linux-hotplug@vger.kernel.org --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi,=20 as I am refactoring some messy code in yast2-network.rpm, I found a part dealing with udev rules (/etc/udev/rules.d/70-persistent-net.rules in particular). Do you know of any library dealing with the rule configuration files? AFAIK libudev only deals with the events and devices, not with the config. My search has not found an Augeas lens for the rules, nothing for perl or python or ruby. If I go about writing such a library, would you be interested in having it upstream? --=20 Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu --opJtzjQTFsWo+cga Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk2oL1QACgkQZ81Plt08/VMRRwCcD9guUeOZc5BLPRP96oCxROk2 Ot0AoJCRozj6jp8Gi6xRm8tBfNsgHhFq =cAqW -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--