Matty> I am somewhat curious why daemons don't live in /usr/sbin...

Because that is expected to be in root's $PATH, whereas /usr/lib is not.


Matty> Most of the Solaris daemons reside in a subdirectory off /usr/lib
Matty> (e.g., /usr/lib/fm/fmd). The intrd script lives directly in /usr/lib,
Matty> and I was curious why it wasn't placed in /usr/lib/intrd/intrd. Do
Matty> the developers use some type of standard layout that places scripts
Matty> in /usr/lib, and compiled daemons in /usr/lib/<daemon_name>/?

No.  Rather, if things are more or less one-off, they tend to go in /usr/lib
whereas is they are part of a group (check out /usr/lib/inet) then the whole
group will go in a sub-dir of /usr/lib.

-- John

http://blogs.sun.com/jbeck
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to