Refresh data in network share windows

Mar 15, '04 09:11:00AM

Contributed by: Anonymous

I added a new shared folder on the PC, which wasn't showing up in OSX. I tried restarting finder, made an attempt at restarting samba, then decided to just start randomly deleting files. First of all, in Terminal or iTerm or similar, type mount to see which folders the network share is mounted to, somewhere in /private -> var -> automount -> Network -> shared_computer_name -> shared_folder. Now type:

umount /private/var/automount/Network/shared_computer_name/shared_folder
Do this for all of the directories for the server you want to refresh. Next, type:
rmdir /private/var/automount/Network/shared_computer_name/shared_folder
to remove the empty directories. Finally:
sudo rmdir shared_computer_name
To remove the server name directory too. Then just connect to the server in Finder as usual, the share contents should be refreshed. This also seems to clear out the 'saved' username/password you used to connect with.

Hope this helps!

[robg adds: I haven't had any issues with the data on our Windows' servers refreshing when those folders are mounted on my PowerBook, but this looks like it would certainly force a refresh! 10.3.3 is rumored to have some improvements in the networking section; perhaps this is one of the addressed issues.]

Comments (3)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040304204236893