Subject: Re: mounting by wedge name
To: None <tech-userlevel@NetBSD.org>
From: Bernd Ernesti <email@example.com>
Date: 12/24/2007 15:54:50
On Mon, Dec 24, 2007 at 10:35:56AM +0200, Alan Barrett wrote:
> On Sun, 23 Dec 2007, Christos Zoulas wrote:
> > I am not sure this is the right way to do things, since I will not be
> > able to mount from a host called "wedge" :) Perhaps a better syntax is
> > to use [wedgename].
> Why would you be unable to mount from a host called wedge? Even if
> "mount wedge:/foo mnt" would no longer guess that you meant to do an NFS
> mount, I had assumed that "mount_nfs wedge:/foo /mnt" would still treat
> "wedge" as a host name, and similarly for other ways of invoking the
> same operation ("mount -t nfs", "nfs" in third column of /etc/fstab).
> (I like the "wedge:" syntax.)
I like the idea, but not that we add more 'magic' here.
Using mount for nfs mounts with hostname:/xx used to work and I see no
reason to break it, even if this is a very minor case where it could break.
How does other OS handle such mounts?
Can we use a different delimiter instead of ':'?
Or what about only adding it to mount_ffs, but then we will lose again
some easy way to access it.