Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rate Thread Display Modes
Old 03-29-2002, 12:11 AM   #1
theeggman98
Prospect
 
Join Date: Jan 2002
Posts: 27
Accessing Mounted NFS share through desktop

First off I can access the nfs share through the command line no problem. But what I want to do is have a folder on my desktop that I can click on and access the share.

But when click on this folder on the desktop I get "alias 'directory name' could not be opened, because the original item could not be found".

This is confusing because the folder is not an alias before I mount the drive to that folder.

Also when I mount the drive to my desktop I have a new network drive icon appear called <nfs - 1000> which shows up as a volume but there is nothing inside.
theeggman98 is offline   Reply With Quote
Old 03-29-2002, 03:28 AM   #2
didde
Prospect
 
Join Date: Jan 2002
Posts: 39
Arrow maybe?

hey theeggman98!

i don't know if this will help you, but I managed to get my SMB server to mount on startup.. All I had to do was to add a script to the /Library/StartupItems that actually mounted the volume into /Volumes/SMB005. first I created the SMB005 directory, then I created another directory in ~/ called SmbDisk.. finally i made a symlink from /Volumes/SMB005 to ~ /SmbDisk..

the result of this is that I have an "alias" in my home folder to the share, but as soon as I login the share itself pops up on the desktop (and /).

maybe it'll help you some? of course this is not the ideal solution to mounting a share programmatically, but hey - it works!
didde is offline   Reply With Quote
Old 03-29-2002, 02:54 PM   #3
lx
Prospect
 
Join Date: Jan 2002
Posts: 3
I was able to mount a remote NFS volume with NFSManager (http://www.bresink.de/osx/NFSManager.html), then create an alias to it on my desktop with "cd ~/Desktop; ln -s /Network/Servers/myRemoteNFSVolume/ myNFS".

Not sure if this depends on your method of mounting the NFS volume or not. I had to resort to NFSManager in trying this out because I couldn't get good 'ol "mount -t nfs" to work for me. (It doesn't seem to work on my MacOSX box like it does on the other *nix boxes I use, which is entirely an artifact of my lack of knowledge in the technical details of all of this).
lx is offline   Reply With Quote
Old 03-30-2002, 06:23 PM   #4
theeggman98
Prospect
 
Join Date: Jan 2002
Posts: 27
Update:

Well I tried mounting the share then symlinking it to the desktop and I still get "original item could not be found error" when I try to access the nfs share from the desktop.

I find it extremely odd that I can only access an nfs share through the command line.

E.
theeggman98 is offline   Reply With Quote
Old 04-04-2002, 12:29 AM   #5
theeggman98
Prospect
 
Join Date: Jan 2002
Posts: 27
Solved!

I finally figured out why the symlink would not work. The folder did not belong to the same group. So all I had to do was chgrp 'group' 'folder' and now I can access nfs shares from the desktop.

E.
theeggman98 is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting 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

Forum Jump



All times are GMT -5. The time now is 05:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.