Re: Directory Conventions for Utilities?

From: Bill Thompson (bill.thompson@GOODYEAR.COM)
Date: Wed Apr 16 2003 - 07:43:45 EDT


Just my 2 cents and a bit of a rant :-)

/opt is a terrible place to put small utilities such as nmon, gzip, lsof,
sudo, vim, etc., etc.

The problem is you have to have a separate entry in everybody's PATH
variable for every stinking utility. That's crazy!

If this is a good idea, why don't we have a separate directory for ls, cp,
df, mv, etc. That would really beef up your PATH.

I've used /usr/local for many, many years and it works great.

/opt may be a good place to put major applications with many supporting
files (Patrol, OpenView, WebSphere, etc.) but it's not a good place to put
utilities.

The "standard" installation path in the Makefile of almost every utility
(if you download the source) is /usr/local. So who decided to move this
stuff to /opt?

(I think I first saw this on a SUN system, then HP followed suite to this
when they went from a BSD to Sys5 system, and of course you've got to throw
Linux in there somewhere. Now that IBM seems to be leaning away from AIX
towards Linux, they went with the /opt as well.)

BTW - I discussed this with an engineer from one of the major vendors
that's been using the /opt convention for a few years. They said that it
sounded like a good idea on the drawing board, but agreed that it now seems
pretty stupid for the small utilities.

If you *must* use /opt, at least create a /opt/bin and stick all the
executable there.

end of rant - thanks :-)

Bill Thompson
Sr UNIX Systems Administrator
The Goodyear Tire & Rubber Co.

Contains Confidential and/or Proprietary Information
May Not Be Copied or Disseminated Without Express Consent of The Goodyear
Tire & Rubber Company.

AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2

----- Original Message -----
From: "Jim McDonald" <jmcdon23@CSC.COM.AU>
Newsgroups: bit.listserv.aix-l
To: <aix-l@Princeton.EDU>
Sent: Tuesday, April 15, 2003 6:22 PM
Subject: Re: Directory Conventions for Utilities?

> Hi
>
> Actually AIX is becoming more like the rest of Unix with /opt/<your
> binaries>
>
> The big stuff go for /opt/<your binaries>
> /opt by convention is static i.e. no logs (AIX puts logs in strange
places
> on other Unices they wouldn't go there)
> If size justifies it create a /opt filesystem.
>
> Small utilities /usr/local/bin but if you want to separated from apps go
> for something likke /usr/local/<admin or name of your choice>
>
> Regards
> Jim McDonald
> __________________________________________________
> Internal mail use: James McDonald
> CSC
> L1,15 Help St, Chatswood
> Ph: 9464-4743 Email: jmcdon23@csc.com.au
>
----------------------------------------------------------------------------------------

>
> This email, including any attachments, is intended only for use by the
> addressee(s) and may contain confidential and/or personal information and
> may also be the subject of legal privilege. Any personal information
> contained in this email is not to be used or disclosed for any purpose
> other than the purpose for which you have received it. If you are not the
> intended recipient, you must not disclose or use the information
contained
> in it. In this case, please let me know by return email, delete the
message
> permanently from your system and destroy any copies.
>
----------------------------------------------------------------------------------------

>
>
>
>
>
> Tim Muller <aix_sa_706@YAHOO.COM>@Princeton.EDU> on 16/04/2003 03:59:57
AM
>
> Please respond to IBM AIX Discussion List <aix-l@Princeton.EDU>
>
> Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
>
>
> To: aix-l@Princeton.EDU
> cc:
> Subject: [aix-l] Directory Conventions for Utilities?
>
>
> I've been playing with nmon lately, which I had
> installed in the root directory. Realizing that root
> is probably not the best place for it, I started to
> move it to my own home directory, but decided that
> wasn't a good place either.
>
> Are there any conventions for where to store the
> various utilities that SA's accumulate? TIA.
>
>
>
> =====
> Tim Mueller
> Hamilton Co. Dept. of Job & Family Services
> Cincinnati, OH USA
>
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:45 EDT