[ale] help with udev rule

Todor Fassl fassl.tod at gmail.com
Tue Aug 9 12:32:25 EDT 2016


On 08/05/2016 02:59 PM, Pete Hardie wrote:
> XML is useful if you have complex data to transmit and need to nest
> multiple levels.  Most config files are not nested that deep, and
> are not complex data structures.  Hell, I can't think of any that need more
> than the X=Y properties type structure, although I'm sure there are some.

I'm having trouble thinking of any config files that are simple 
key/value pairs and nothing else. Not LDAP, DNS, DHCP, or even grub. 
Have you tried writing an rsyslog rule? Even my original example, a udev 
rule couldn't be expressed with a simple attr=value config file.
If you ask an xml advocate about why it is so complicated/verbose, 
they'll say it has to be like that in order to satisfy all the criteria. 
I went to an XML class -- it must have been 20 years ago by now. I was 
like, "WTF? That is *way* too complicated. I am not going to go through 
all that work just to say something like, 'port=80'.""

But I don't know.  Like I said, ever written a rsyslog rule? Udev? Ever 
written a bind9 zone file? Ever edited /boot/grub/grub.cfg by hand? I'm 
blind and xml is f'in hard to listen to but I might prefer even that to 
having to learn a nini-programming language for every new system I install.


More information about the Ale mailing list