View Single Post
Old August 23rd, 2013, 04:30 PM   #808 (permalink)
EarlyMon
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,626
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,839
Thanked 57,370 Times in 23,088 Posts
Default

A UNIX White Paper from about 15 years ago defined the opt structure as the preferred installation strategy to try to straighten out the discrepancies between common practices for BSD vs. ATT UNIX.

I've only seen it enforced in HP-UX, but I haven't seen everything.

opt stands for optional - any software not in the original distribution.

/etc (pronounced ET see) is where configuration data belongs.

/var is the machine-specific area for data, variably sized and mounted by sysadmin.

Therefore, on a well-behaved, conforming software package named, for example only, XYZ, we get the following directories -

/opt/XYZ - the XYZ software

/etc/opt/XYZ - all configuration/setup data for XYZ

/var/opt/XYZ - data generated by running XYZ

On a BSD system, /opt is the same as /usr/local/bin (bin is pronounced bine, as in binary, and not pronounced like a vegetable bin).

There, some info for its own sake, hope it serves.
__________________
|

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

Links: Site Rules / Guidelines -and- Zero Tolerance Policy (All Members Read)


For right-on help, the Thanks button is on the right of the post.
For anything out in left field, the /!\ report button is to the left.

Remember, it's our forums and we're all in this together - so let's keep it cool!

Shoot the breeze at the best new gun forum!
EarlyMon is offline  
Last edited by EarlyMon; August 23rd, 2013 at 05:58 PM.
Reply With Quote
The Following 2 Users Say Thank You to EarlyMon For This Useful Post:
MoodyBlues (August 23rd, 2013), zuben el genub (August 23rd, 2013)