Udev Rules

Valter Douglas Lisbôa Jr. douglas at trenix.com.br
Tue Oct 14 05:43:40 PDT 2008


Em Monday 13 October 2008 18:30:56 Gilles Espinasse escreveu:
> ----- Original Message -----
> From: "Valter Douglas Lisbôa Jr." <douglas at trenix.com.br>
> To: "LFS Developers Mailinglist" <lfs-dev at linuxfromscratch.org>
> Sent: Monday, October 13, 2008 9:05 PM
> Subject: Re: Udev Rules
>
> > > > > Matthew Burgess wrote:
> > > > >> I'd prefer to follow upstream and put the Udev supplied default
>
> rules
>
> > > > >> in /lib/udev/rules.d.
> > > > >
> > > > > Bruce Dubbs wrote:
> > > > > I say keep them in /etc.
> >
> > I'm too.
>
> Place of rules is not only a matter of taste between /etc and /lib
> http://marc.info/?l=linux-hotplug&m=121828444204300&w=2
>
> If you place everything on /etc, there is no more a priority at one place
> for custom changes.
>
> > > udev maintainer claim
> > > "Most udev rules are not config files, not supposed to be edited, and
> > > therefore do not belong into /etc."
> > > http://marc.info/?l=linux-hotplug&m=121839763301840&w=2
> > >
> > >
> > > Gilles
> >
> > Well, than it couldn't be editable by a config file, correct?. At least,
> > the "defaults" for the basic devices must to be resonable, and we all
> > make ours "udev-configs packages" to create a secure and organized /dev
> > because these defaults are somewhat insecure or/and ugly.
> >
> > I always believe that /lib and /usr/lib are place to store modules,
>
> libraries,
>
> > binary data and support programs, not plain configurarion texts. Be it
> > for create defaults or not.
>
> placing rules on /etc is discouraged like editing _default_ rules
> http://marc.info/?l=linux-hotplug&m=121846825230235&w=2
I think worse put this type of files in two locations, worse yet if it has the 
same name. 

>
>
> Gilles



-- 
Valter Douglas Lisbôa Jr.
Sócio-Diretor
Trenix - IT Solutions
"Nossas Idéias, suas Soluções!"
www.trenix.com.br
contato at trenix.com.br



More information about the lfs-dev mailing list