Existing users, log in.  New users, create a free account.  Lost password?


MacFixIt Logo
 
Contact Us | About MacFixIt | Who's Online  

Topic Options
#455762 - 11/19/08 11:35 AM Internal Drive and External drive partition hidden
castingflame Offline
New User

Registered: 11/19/08
Posts: 2
I can no longer see my Internal drive as a desktop icon or in the Finder or file system unless I use tinker tools and set the "show hidden files" option on. I can see it ok in Disk Utility. The same issue applies for a partition I have on an external drive.



iMac - OS X 10.5.5

Top
#455778 - 11/19/08 03:25 PM Re: Internal Drive and External drive partition hi [Re: castingflame]
Hal Itosis Offline
MacWizard

Registered: 08/23/99
Posts: 6486
Loc: 10.5.6 (build 9G55)
Originally Posted By: castingflame
I can no longer see my Internal drive as a desktop icon or in the Finder or file system unless I use tinker tools and set the "show hidden files" option on. I can see it ok in Disk Utility. The same issue applies for a partition I have on an external drive.

Any idea what caused it? (inquiring minds . . . )

If the 'hidden' flag is set, this should clear that up:
chflags nohidden /{,Volumes/*}

[if you get a 'Permission denied' message, you'll need to add sudo
onto the beginning and supply an admin password when asked.]

Normally i would request a listing first:
ls -lOd /{,Volumes/*}
but the chflags line i wrote is harmless.

If it's not the hidden flag, we'll have to try something else.

-HI-




Edited by Hal Itosis (11/19/08 03:30 PM)

Top
#455805 - 11/20/08 01:23 AM Re: Internal Drive and External drive partition hi [Re: Hal Itosis]
artie505 Offline
MacWizard

Registered: 03/27/03
Posts: 5471
> [if you get a 'Permission denied' message, you'll need to add sudo
onto the beginning and supply an admin password when asked.]


You didn't instruct castingflame to type a space, which I've always thought is necessary, after "sudo."

Am I correct, and, if so, will the omission cause any problems?
_________________________
Patent's expired. frown www.500poundrock.rip

Top
#455810 - 11/20/08 04:25 AM Re: Internal Drive and External drive partition hi [Re: artie505]
dkmarsh Moderator Offline
Moderator

Registered: 09/29/00
Posts: 8027
Loc: SE PA

delicata:~ dkmarsh$ sudochflags nohidden /{,Volumes/*}
-bash: sudochflags: command not found


(IOW, yes, the space is necessary; no, the omission won't cause any problems.)
_________________________

dkmarshmacfixit forums moderator
Mac mini (PPC) 1.25 GHz/1 GB/40 GB (10.5.6) • NewerTech miniStack (10.4.11)

Top
#455828 - 11/20/08 10:02 AM Re: Internal Drive and External drive partition hi [Re: artie505]
Hal Itosis Offline
MacWizard

Registered: 08/23/99
Posts: 6486
Loc: 10.5.6 (build 9G55)
Originally Posted By: artie505
will the omission cause any problems?

dkmarsh is on the money (as always).

i'll just add artie505 that... the first string is always "interpreted" to be a command,
so -- if there were an actual command named sudochflags -- then it would be run.
otherwise -- as long as no semicolon (;) on the line produces some other command,
then the whole thing just fails with 'command not found' (as shown above).

Top
#455837 - 11/20/08 11:46 AM Re: Internal Drive and External drive partition hi [Re: Hal Itosis]
Virtual1 Offline
MacWizard

Registered: 01/20/01
Posts: 9800
Loc: Middle 'o Nowhere
I wonder did you uncheck the "show" options in finder preferences?
_________________________
- I work for the Department of Redundancy Department

Top
#455847 - 11/20/08 01:36 PM Re: Internal Drive and External drive partition hi [Re: Virtual1]
Hal Itosis Offline
MacWizard

Registered: 08/23/99
Posts: 6486
Loc: 10.5.6 (build 9G55)
Originally Posted By: Virtual1
I wonder did you uncheck the "show" options in finder preferences?

OP mentioned something about "tinker tools - show hidden files" being able to reveal the missing icons.
[so i doubt it's a finder prefs type of deal here]

Top
#455848 - 11/20/08 01:36 PM Re: Internal Drive and External drive partition hi [Re: Virtual1]
castingflame Offline
New User

Registered: 11/19/08
Posts: 2
Thanks everyone for your quick help.

sudo chflags nohidden /{,Volumes/*}

did the trick so kudos to Hal Itosis for the fix. I had already checked system and finder settings and preferences.

I have a feeling it was either to do with 1 of 2 things:

1. The demo of vmware fusion. I know that this did hide my DVD drive in OS X when I mounted it as a device in my windows xp VM.

2. Carbon Copy Cloner. The only reason that this looks guilty is that the external USB drive partition was a clone of my Mac HD and both were hidden.

Thanks again, I only got my iMac a week ago!

Top


Moderator:  cyn, dkmarsh, joemikeb, MacManiac 

VersionTracker: Software Updates and Downloads | iPhone Atlas: iPhone Help, News, Tutorials, and Tips