/etc/profile vs /etc/paths.d
I work with a Mac that was upgraded from Tiger to Leopard, and with another with a clean Leopard install. When trying to change the system search path in the one with the clean install, I noticed that /etc/profile is read-only and does not have any PATH entry in it.
After some googling, I came across some postings whereby file /etc/paths and directory /etc/paths.d are described as the places where search path action takes place now. Is that so?
However, the upgraded mac still has my old Tiger /etc/profile, which seems to work. Does bash merge profile and path.d stuff? Is the first overwriting the second?
For things one adds to the PATH, is it preferable to use /etc/paths or add one-line files to /etc/paths.d?
Consequently, is MANPATH now defined in /etc/manpaths and /etc/manpaths.d? Regarding this, I read some reports about conflicts between Tiger and Leopard man pages. Is that the case?
Finally, does anybody know where important UNIX stuff like this is explained at the Apple website?
Thanks very much for your help,
MarceloC
MacBook Pro, Mac OS X (10.5.1)