Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > What is /sw?

What is /sw?
Thread Tools
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Feb 9, 2003, 12:39 AM
 
I just noticed all of a sudden that a folder called "sw" just showed up in root. Inside is a folder "lib" and then a bunch of dylib files. I imagine that they're dynamic library files or something like that, but why would they all of a sudden be visible? I've never seen this before.

The only thing I can think of that I've installed recently is the new Virex.
     
Professional Poster
Join Date: Jun 2000
Status: Offline
Reply With Quote
Feb 9, 2003, 12:45 AM
 
Have you installed Fink? Fink puts the things it installed into the sw folder. Other programs may do this as well, but I know Fink does for sure.
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 9, 2003, 12:55 AM
 
That was Virex's work. For some insipid reason, they use the same directory structure as Fink for their libraries, rather than folding them into the application bundle.

Unfortunately, there's no way to remove the directory, unless you want Virex to stop working. I believe you can use SetFile, which is part of the Developer Tools, to make it invisible, but I don't remember how to do that.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
wataru  (op)
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Feb 9, 2003, 02:17 AM
 
Hey thanks guys.

The terminal command to make things invisible is (if you have the dev tools installed):

/Developer/Tools/SetFile -a V [file]

You can put sudo in front of that if necessary.
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Feb 9, 2003, 03:24 AM
 
cool. saves me asking
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Dedicated MacNNer
Join Date: Jan 2001
Status: Offline
Reply With Quote
Feb 9, 2003, 12:52 PM
 
Originally posted by wataru:
Hey thanks guys.

The terminal command to make things invisible is (if you have the dev tools installed):

/Developer/Tools/SetFile -a V [file]

You can put sudo in front of that if necessary.
if you don't have dev tools installed just edit the file /.hidden and add sw in the appropriate place (alphabetically).
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Feb 9, 2003, 02:47 PM
 
Originally posted by wataru:
I just noticed all of a sudden that a folder called "sw" just showed up in root. Inside is a folder "lib" and then a bunch of dylib files. I imagine that they're dynamic library files or something like that, but why would they all of a sudden be visible? I've never seen this before.

The only thing I can think of that I've installed recently is the new Virex.
Virex did the install. Usually thgis is where fink works, but for some reasons the Virex developers screw their install software. More information is available here
     
Mac Elite
Join Date: May 2001
Location: NYC
Status: Offline
Reply With Quote
Feb 10, 2003, 12:23 AM
 
For those partial to a GUI, XRay does a nice job for making a directory invisible, among other things.
     
Senior User
Join Date: Mar 2001
Location: Sitting in front of computer
Status: Offline
Reply With Quote
Feb 10, 2003, 07:54 AM
 
Something keeps on putting a "Scripting Additions" folder in the root of my drive whenever I log out and in. There is noting in it but "Standard Additions, " just like the one inside of my library folder.
     
Grizzled Veteran
Join Date: Sep 2000
Location: New Jersey, USA
Status: Offline
Reply With Quote
Feb 10, 2003, 08:33 AM
 
I've opened .hidden and added sw to the list. Upon trying to save it, I don't succeed. Trying to write to a directory won't let me. Keeps defaulting to home. I'm opening it in pico. That may be the problem. How should one edit this file?
Dual 2.0 G5/2.5GB/ATI 9800 Pro | MacBook Pro 2.16 Gore Duo/2GB/ATI X1600
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 10, 2003, 09:26 AM
 
Originally posted by mrchin:
I've opened .hidden and added sw to the list. Upon trying to save it, I don't succeed. Trying to write to a directory won't let me. Keeps defaulting to home. I'm opening it in pico. That may be the problem. How should one edit this file?
If you're using pico, then it's easy; just use sudo pico instead, and give your password when asked.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:32 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2