Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

opt directory

 
   Soft32 Home -> Mac -> System RSS
Next:  play SONY camcorda in wmp 10  
Author Message
Titus Pullo

External


Since: Aug 19, 2007
Posts: 7



(Msg. 1) Posted: Sun Aug 19, 2007 10:05 am
Post subject: opt directory
Archived from groups: comp>sys>mac>system (more info?)

I keep finding an 'opt' directory with Applications, Library, System
and Users at the root level of my hard drive. It contains a bunch of
UNIX directories. "Macports" is a filename that appears a lot. Does
anyone know where this directory comes from? I keep deleting it but
every so often it reappears.
Back to top
Login to vote
Jolly Roger

External


Since: Jul 26, 2007
Posts: 1029



(Msg. 2) Posted: Sun Aug 19, 2007 1:36 pm
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-08-19 17:05:23 -0500, Titus Pullo <null.DeleteThis@unix.site> said:

> I keep finding an 'opt' directory with Applications, Library, System
> and Users at the root level of my hard drive. It contains a bunch of
> UNIX directories. "Macports" is a filename that appears a lot. Does
> anyone know where this directory comes from?

....You mean *besides* MacPorts (http://www.macports.org/)?

--
Apply rot13 to this e-mail address before using it.

JR
Back to top
Login to vote
Tom Harrington

External


Since: Aug 19, 2003
Posts: 1921



(Msg. 3) Posted: Sun Aug 19, 2007 4:57 pm
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <2007081915052316807-null@unixsite>,
Titus Pullo <null.TakeThisOut@unix.site> wrote:

> I keep finding an 'opt' directory with Applications, Library, System
> and Users at the root level of my hard drive. It contains a bunch of
> UNIX directories. "Macports" is a filename that appears a lot. Does
> anyone know where this directory comes from? I keep deleting it but
> every so often it reappears.

As others have noted, the /opt/ directory is generally associated with
MacPorts. If you didn't install it then something may be doing so.

The next time it appears, try running Terminal (located in the Utilities
folder). Type this and press return:

/opt/local/bin/port installed

If this _is_ something installing MacPorts for you, that will list
everything from MacPorts that's been installed. Post the list here and
people may be able to make a better guess at how it got there.

--
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/
Back to top
Login to vote
Bob Harris

External


Since: Jun 11, 2005
Posts: 1256



(Msg. 4) Posted: Sun Aug 19, 2007 6:42 pm
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <2007081915052316807-null@unixsite>,
Titus Pullo <null DeleteThis @unix.site> wrote:

> I keep finding an 'opt' directory with Applications, Library, System
> and Users at the root level of my hard drive. It contains a bunch of
> UNIX directories. "Macports" is a filename that appears a lot. Does
> anyone know where this directory comes from? I keep deleting it but
> every so often it reappears.

Are you using MacPorts.org stuff?

Did you download anything from the internet and install it? And
use it regularly? It is possible that this software is fetching
needed resources from MacPorts.org.

Does anyone else have an account on your system? Have they been
using MacPorts.org?

Do you suspect someone of sneaking into your system via ssh or
using it while you are away, and using MacPorts.org?

What are the names of the files in /opt? Maybe that will give a
clue as to what is being done by these apps.

Bob Harris
Back to top
Login to vote
Titus Pullo

External


Since: Aug 19, 2007
Posts: 7



(Msg. 5) Posted: Sun Aug 19, 2007 6:42 pm
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-08-19 16:42:04 -0700, Bob Harris
<nospam.News.Bob DeleteThis @remove.Smith-Harris.us> said:

> In article <2007081915052316807-null@unixsite>,
> Titus Pullo <null DeleteThis @unix.site> wrote:
>
>> I keep finding an 'opt' directory with Applications, Library, System
>> and Users at the root level of my hard drive. It contains a bunch of
>> UNIX directories. "Macports" is a filename that appears a lot. Does
>> anyone know where this directory comes from? I keep deleting it but
>> every so often it reappears.
>
> Are you using MacPorts.org stuff?
>
> Did you download anything from the internet and install it? And
> use it regularly? It is possible that this software is fetching
> needed resources from MacPorts.org.
>
> Does anyone else have an account on your system? Have they been
> using MacPorts.org?
>
> Do you suspect someone of sneaking into your system via ssh or
> using it while you are away, and using MacPorts.org?
>
> What are the names of the files in /opt? Maybe that will give a
> clue as to what is being done by these apps.
>
>

I never downloaded anything from Macports.org. Could it be iFuntastic?
That is the last piece of software I downloaded. Couldn't be Netscape
9. I cant think of anything else I downloaded and installed recently.
Could it be something that I am running under X11 like the Gimp or
Stellarium?
Back to top
Login to vote
Bob Harris

External


Since: Jun 11, 2005
Posts: 1256



(Msg. 6) Posted: Sun Aug 19, 2007 9:23 pm
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <2007081917461116807-null@unixsite>,
Titus Pullo <null.TakeThisOut@unix.site> wrote:

> On 2007-08-19 16:42:04 -0700, Bob Harris
> <nospam.News.Bob.TakeThisOut@remove.Smith-Harris.us> said:
>
> > In article <2007081915052316807-null@unixsite>,
> > Titus Pullo <null.TakeThisOut@unix.site> wrote:
> >
> >> I keep finding an 'opt' directory with Applications, Library, System
> >> and Users at the root level of my hard drive. It contains a bunch of
> >> UNIX directories. "Macports" is a filename that appears a lot. Does
> >> anyone know where this directory comes from? I keep deleting it but
> >> every so often it reappears.
> >
> > Are you using MacPorts.org stuff?
> >
> > Did you download anything from the internet and install it? And
> > use it regularly? It is possible that this software is fetching
> > needed resources from MacPorts.org.
> >
> > Does anyone else have an account on your system? Have they been
> > using MacPorts.org?
> >
> > Do you suspect someone of sneaking into your system via ssh or
> > using it while you are away, and using MacPorts.org?
> >
> > What are the names of the files in /opt? Maybe that will give a
> > clue as to what is being done by these apps.
> >
> >
>
> I never downloaded anything from Macports.org. Could it be iFuntastic?
> That is the last piece of software I downloaded. Couldn't be Netscape
> 9. I cant think of anything else I downloaded and installed recently.
> Could it be something that I am running under X11 like the Gimp or
> Stellarium?

Gimp is listed as something MacPorts has available, but that only
means you can get it from MacPorts, it does not mean that Gimp
will fetch stuff when running from MacPorts, especially if you
have removed them and the show up again.

iFuntastic could be doing anything. If I understand it correctly,
it aids in getting ring tones onto an iPhone.

Stellarium is OpenSource, but since it is multi-platform, it is
unlikely to be getting stuff from a Mac specific web site.

Again, the stuff found in /opt might give a clue as to what kind
of app fetched them.

You could clean out each suspected app, cleaning out /opt between
each command to see if any of them populate new /opt entries.

You could get "Little Snitch" and watch for which apps attempt to
connect to the MacPorts web site.

You could look at the total amount of space being used by /opt

du -sxh /opt

and if it is not too much space, just ignore it and allow the app
that is populating it alone (unless of course you suspect foul
play).

Bob Harris
Back to top
Login to vote
Titus Pullo

External


Since: Aug 19, 2007
Posts: 7



(Msg. 7) Posted: Sun Aug 19, 2007 9:23 pm
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-08-19 19:23:33 -0700, Bob Harris
<nospam.News.Bob.TakeThisOut@remove.Smith-Harris.us> said:

> Gimp is listed as something MacPorts has available, but that only
> means you can get it from MacPorts, it does not mean that Gimp
> will fetch stuff when running from MacPorts, especially if you
> have removed them and the show up again.
>
> iFuntastic could be doing anything. If I understand it correctly,
> it aids in getting ring tones onto an iPhone.
>
> Stellarium is OpenSource, but since it is multi-platform, it is
> unlikely to be getting stuff from a Mac specific web site.
>
> Again, the stuff found in /opt might give a clue as to what kind
> of app fetched them.
>
> You could clean out each suspected app, cleaning out /opt between
> each command to see if any of them populate new /opt entries.
>
> You could get "Little Snitch" and watch for which apps attempt to
> connect to the MacPorts web site.
>
> You could look at the total amount of space being used by /opt
>
> du -sxh /opt
>
> and if it is not too much space, just ignore it and allow the app
> that is populating it alone (unless of course you suspect foul
> play).
>
> Bob Harris

I just deleted the directory and launched iFuntastic. It didn't
recreate the opt directory. I will watch for it over the next few days
and see if it pops up again, and why. I like to know where stuff comes
from that ends up in my computer.
Back to top
Login to vote
Clever Monkey

External


Since: May 25, 2007
Posts: 312



(Msg. 8) Posted: Mon Aug 20, 2007 5:32 am
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Titus Pullo wrote:
> On 2007-08-19 19:23:33 -0700, Bob Harris
> <nospam.News.Bob DeleteThis @remove.Smith-Harris.us> said:
>
>> Gimp is listed as something MacPorts has available, but that only
>> means you can get it from MacPorts, it does not mean that Gimp
>> will fetch stuff when running from MacPorts, especially if you
>> have removed them and the show up again.
>>
>> iFuntastic could be doing anything. If I understand it correctly,
>> it aids in getting ring tones onto an iPhone.
>>
>> Stellarium is OpenSource, but since it is multi-platform, it is
>> unlikely to be getting stuff from a Mac specific web site.
>>
>> Again, the stuff found in /opt might give a clue as to what kind
>> of app fetched them.
>>
>> You could clean out each suspected app, cleaning out /opt between
>> each command to see if any of them populate new /opt entries.
>>
>> You could get "Little Snitch" and watch for which apps attempt to
>> connect to the MacPorts web site.
>>
>> You could look at the total amount of space being used by /opt
>>
>> du -sxh /opt
>>
>> and if it is not too much space, just ignore it and allow the app
>> that is populating it alone (unless of course you suspect foul
>> play).
>>
> I just deleted the directory and launched iFuntastic. It didn't recreate
> the opt directory. I will watch for it over the next few days and see if
> it pops up again, and why. I like to know where stuff comes from that
> ends up in my computer.
>
Something was installed that looks for traditional Unix filesystems
locations.

"/opt" is traditionally a place to put optional or third-party
applications that do not fit in the typical /usr/local. Technically, it
is for add-on packages that contain static files, that other parts of
the system will never be interested in.

The fact that it keeps being recreated means:

1. You keep launching something that expects it to be there. The Gimp
is a good guess, but this depends on how the deliverable was configured
and compiled.

2. You have a long running process that launches itself on startup which
needs to use /opt for some reason.

I suspect it is (1), because (2) implies some sort of daemon process
which typically does not run out of /opt, or need to access anything there.

The fact that you recognize macports stuff in there suggests that, at
some point, macports was used to install third-party apps ported to an
OS X or Darwin environment. That this might need to access /opt (or
some other location that the Finder knows to ignore) is not surprising.

Either spend some time finding out which app from macports is doing
this, and remove it if you don't use it, or just ignore it because it
seems like business as usual to me.

I mean, if programs accessing /opt are scaring you, then /please/ do not
go into your home directory via the Terminal and type "ls -aF"...
--
clvrmnky <mailto:spamtrap@clevermonkey.org>

Direct replies will be blacklisted. Replace "spamtrap" with my name to
contact me directly.
Back to top
Login to vote
The Natural Philosopher

External


Since: Jun 25, 2007
Posts: 417



(Msg. 9) Posted: Mon Aug 20, 2007 10:48 am
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Titus Pullo wrote:
> I keep finding an 'opt' directory with Applications, Library, System and
> Users at the root level of my hard drive. It contains a bunch of UNIX
> directories. "Macports" is a filename that appears a lot. Does anyone
> know where this directory comes from? I keep deleting it but every so
> often it reappears.

/opt is an old Unix/Linux place to store 'additional software, optional
and not necessary for the running of the operating system'

Its highly likely its a default place for X11 stuff to get installed.

Ive got gimp running under MAC X11 tho, and no /opt at all..so its
probably some other stuff that has created it.
Back to top
Login to vote
Dave Seaman

External


Since: Jun 25, 2003
Posts: 623



(Msg. 10) Posted: Mon Aug 20, 2007 11:28 am
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 20 Aug 2007 16:00:03 +0100, The Natural Philosopher wrote:
> Titus Pullo wrote:
>> I keep finding an 'opt' directory with Applications, Library, System and
>> Users at the root level of my hard drive. It contains a bunch of UNIX
>> directories. "Macports" is a filename that appears a lot. Does anyone
>> know where this directory comes from? I keep deleting it but every so
>> often it reappears.

> /opt is an old Unix/Linux place to store 'additional software, optional
> and not necessary for the running of the operating system'

> Its highly likely its a default place for X11 stuff to get installed.

> Ive got gimp running under MAC X11 tho, and no /opt at all..so its
> probably some other stuff that has created it.

Gmp is available through MacPorts. If you choose to install gmp via
MacPorts, then by default it will be installed in /opt.

I chose instead to install gmp via fink. Therefore, it's installed under
/sw, even though /sw is not necessary for the running of the operating
system. In fact, /sw was chosen for fink installations for precisely
that reason.


--
Dave Seaman
Oral Arguments in Mumia Abu-Jamal Case heard May 17
U.S. Court of Appeals, Third Circuit
<http://www.abu-jamal-news.com/>
Back to top
Login to vote
Ilgaz_Öcal

External


Since: May 04, 2006
Posts: 416



(Msg. 11) Posted: Thu Oct 11, 2007 9:10 pm
Post subject: Re: opt directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-08-20 19:28:35 +0300, Dave Seaman <dseaman.DeleteThis@no.such.host> said:

> On Mon, 20 Aug 2007 16:00:03 +0100, The Natural Philosopher wrote:
>> Titus Pullo wrote:
>>> I keep finding an 'opt' directory with Applications, Library, System and
>>> Users at the root level of my hard drive. It contains a bunch of UNIX
>>> directories. "Macports" is a filename that appears a lot. Does anyone
>>> know where this directory comes from? I keep deleting it but every so
>>> often it reappears.
>
>> /opt is an old Unix/Linux place to store 'additional software, optional
>> and not necessary for the running of the operating system'
>
>> Its highly likely its a default place for X11 stuff to get installed.
>
>> Ive got gimp running under MAC X11 tho, and no /opt at all..so its
>> probably some other stuff that has created it.
>
> Gmp is available through MacPorts. If you choose to install gmp via
> MacPorts, then by default it will be installed in /opt.
>
> I chose instead to install gmp via fink. Therefore, it's installed under
> /sw, even though /sw is not necessary for the running of the operating
> system. In fact, /sw was chosen for fink installations for precisely
> that reason.

As far as I know, both Macports and Fink have very strict policies
against installing nothing without users permission. In fact, it is one
of the reasons why they choose /opt and /sw living all that
configuration hassle,they want something can be removed even via Finder
"'drag to trash".

I don't think anything from them would be installed without asking the
user at least 2-3 questions and "I agree" stuff.

Very interesting stuff, I suggest going to irc.freenode.net with an IRC
client and check with #macports official channel if it appears back.

Ilgaz
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Free Mac Mini for you - free mac mini...................... here is how you can get a free mac mini. all you have to do is go to this site..

How lame can Apple get? - Let's take a glance at the headers of <http://store.apple.com/Catalog/US/Images/fr_salespolicies.html> : <ht...

Windows XP optimization tricks - Collection of very useful tips and tricks http://windowsxpsp2pro.blogspot.com

Need help: activating ownership of my external hard drive - I recently purchased from you a Cavalry 500GB USB 2.0/Firewire External drive to use with my mac ibook g4 laptop (mas o...

PROBLEMS WITH Mac G4 500MHz and Color One Scanner (600/27) - Hello I am having a problem with my G4 500MHz recognising my color one scanner (600/27). I have tried to use the..

need help to restore ipod library to deleted itunes - I inadvertantly wiped out my son's G5 desktop... including around 5000 songs in his itunes. His ipod obviously now..
       Soft32 Home -> Mac -> System All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
  Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]