Subject: Re: One more problem :-)
To: John Darrow <John.P.Darrow@wheaton.edu>
From: Adam K Kirchhoff <adamk@voicenet.com>
List: port-hpcmips
Date: 09/26/2001 23:28:29
On Wed, 26 Sep 2001, John Darrow wrote:
> 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.
Yeah, I figured that out just about an hour ago :-) Thanks for the tip,
though.
Adam