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 > Help needed: after crash & restore, /etc, /var are visible

Help needed: after crash & restore, /etc, /var are visible
Thread Tools
Mac Elite
Join Date: Dec 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Nov 29, 2005, 10:00 PM
 
I had a pretty nasty hard drive crash. I got to get my files off of the drive after using Carbin Copy Cloner. I replaced the drive and using Disk Utility I copied the files back to the new drive.

Most things seem to be working, except that the /etc /var and the other files in the root directory are visible. How does Tiger hide these files and why are they visible on my system?

I ran the permissions repair, but I am not sure why these folders are visible in the Finder.

Thanks,

t
     
Senior User
Join Date: Feb 2002
Location: Denver
Status: Offline
Reply With Quote
Nov 29, 2005, 10:04 PM
 
If you have disk warrior, try running it and see if it fixes the issue. You could also reinstall with the archive and install option and see if that works.
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Nov 29, 2005, 10:26 PM
 
[…]
Originally Posted by vinster
reinstall with the archive and install option
     
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Nov 30, 2005, 10:50 AM
 
Don't bother with that! In Tiger, the /.hidden file is still supported. In the Terminal, just do the following:
Code:
sudo -s [enter password] echo "var" >> /.hidden echo "etc" >> /.hidden ...
I added the sudo part because he might not be the owner of /. Do this for each item you want to hide, replacing the quoted string with the name of the item. If the Finder doesn't hide the items right away, log out and log back in.

I don't think the contents of /.hidden need to be in alphabetical order, but if it doesn't work you could try that too.

Edit: Actually, scratch that. Just do this:
Code:
sudo touch /.hidden [enter password] open -a textedit /.hidden
That will first make sure the file exists, and then open it for editing in TextEdit. If prompted, choose to overwrite when you save.
(Last edited by wataru; Nov 30, 2005 at 10:56 AM. )
     
   
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 01:28 PM.
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