Discussion:
[Xquartz-dev] /etc/paths.d/40-Xquartz
Tom Carpenter
2015-11-16 22:18:24 UTC
Permalink
I recently installed XQuartz 2.7.8 on an El Capitan 10.11.1 system. I asked
Apple tech support about this (didn't get a definitive answer...they thought
maybe it was some way of identifying a file version): what is the
significance
of the '40-' prefix of the file '/etc/paths.d/40-Xquartz'? 'udev' on
Linux uses
numeric prefixes to control the order in which 'udev' processes
configuration
files; do the numeric prefixes of path_helper files control the order in
which
path statements are appended to the system PATH? If numeric prefixes are
a feature of path_helper is that aspect of path_helper files documented
anywhere?
--
Tom Carpenter
Computer Systems Specialist
Biology Department
221 Morrill Science Center
611 North Pleasant Street
Amherst, MA 01003-9297

(413) 577-2311 (P)
(413) 545-3243 (F)
Jeremy Huddleston Sequoia
2015-11-17 04:40:40 UTC
Permalink
The files are processed in order.

It doesn't look like that's explicit in the man page, but you can see the source here:

http://opensource.apple.com/source/shell_cmds/shell_cmds-179/path_helper/path_helper.c
Post by Tom Carpenter
I recently installed XQuartz 2.7.8 on an El Capitan 10.11.1 system. I asked
Apple tech support about this (didn't get a definitive answer...they thought
maybe it was some way of identifying a file version): what is the significance
of the '40-' prefix of the file '/etc/paths.d/40-Xquartz'? 'udev' on Linux uses
numeric prefixes to control the order in which 'udev' processes configuration
files; do the numeric prefixes of path_helper files control the order in which
path statements are appended to the system PATH? If numeric prefixes are
a feature of path_helper is that aspect of path_helper files documented
anywhere?
--
Tom Carpenter
Computer Systems Specialist
Biology Department
221 Morrill Science Center
611 North Pleasant Street
Amherst, MA 01003-9297
(413) 577-2311 (P)
(413) 545-3243 (F)
_______________________________________________
Xquartz-dev mailing list
https://lists.macosforge.org/mailman/listinfo/xquartz-dev
Loading...