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

Re: Bash invocation, was Re: 60-serial.rules, broken



On 6/9/23 06:51, David Wright wrote:
On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote:
On 6/9/23 00:46, tomas@tuxteam.de wrote:
On Thu, Jun 08, 2023 at 09:08:59PM -0400, gene heskett wrote:

[...]

Perhaps I've ben mistaken, but the files in /etc/udev/rules.d are not the
same as /lib/udev/rules.d, so which one actually rules?

The one in /etc, as David said. Unless it doesn't exist.

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?

Not only did I give the priority for the task you're tackling
(which BTW would not concern an individual user's directory tree),
I also gave you the reference: man udev.

What is your problem??

man udev is as opaque as you can make what looks like plain English.
Change of subject:

I have a mod I make to the $PATH which I've put in .profile, but I've
failed to find a place to make it autoexec when I login. And I'm tired
of typing ". .profile in every shell tab I open.

Suggestion?

Read INVOCATION in man 1 bash (and check the existence and priorities
of the several startup files). But I feel I'm wasting my breath.

PS New thread for a new subject? Come on …

Cheers,
David.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Reply to: