Subject: Re: One more problem :-)
To: None <adamk@voicenet.com>
From: John Darrow <John.P.Darrow@wheaton.edu>
List: port-hpcmips
Date: 09/26/2001 22:25:49
Adam K Kirchhoff <adamk@voicenet.com> wrote:

>> > > #  mount -t nfs 192.168.0.1:/home /sorrow/home/

>$ umount /sorrow/home
>
>Gives me an error message about /sorrow/home not being mounted (though, of
>course, just running 'mount' shows that it is).  Has anyone encountered
>this before?

It's most likely that you somehow managed to bypass the normal mount point
canonicalization in your mount command, resulting in the mount table entry
having a trailing slash (as you typed in the mount command above).  If you
type 'mount' and look closely at the output, you should see the trailing
slash, similar to the trailing slash on the /dosc/ in the following:

/dev/wd0g on /dosc/ type msdos (local)

Try the following command:

umount -R /sorrow/home/

The -R forces the path to be passed directly to unmount(2), without
performing any canonicalization.

To avoid this problem in the future, don't include the trailing slash
in the mount command in the first place.

jdarrow

-- 
John Darrow - Senior Technical Specialist               Office: 630/752-5201
Computing Services, Wheaton College, Wheaton, IL 60187  Fax:    630/752-5968
Pager via email: 6303160707@alphapage.airtouch.com      Pager:  630/316-0707
Email:     John.P.Darrow@wheaton.edu