[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 60-serial.rules, broken



On Fri, Jun 09, 2023 at 06:20:07AM -0400, gene heskett wrote:
> On 6/9/23 00:46, tomas@tuxteam.de wrote:
> > This is actually the classical pattern of "layered configuration", which
> > is widespread in the UNIX world. You see that often with a system config
> > which can be overridden by a user config.
> > 
> > Sometimes you have even three layers: distro (e.g. lib), local (etc) and
> > user.
> 
> Thanks for the clarification Tomas. That would intimate the search order
> would be /home/$usr/someplace, /etc/someplace, /lib/someplace.  Is that
> correct?

Tomas is speaking in a general sense.  There are many different programs
which use this TYPE of arrangement, or some subset of it.

The exact search order would depend on which specific program is being
analzed.

Also, sometimes it's not a case of "search through the following list
and use the first one you find".  Sometimes the list is traversed in 
the other direction, and ALL configuration files are read, starting
with the generic distribution file, and then the local sysadmin's file,
and then the user's file, with the intent that the later files can
override the configuration elements established by the earlier files.

Both ways are quite common.


Reply to: