Subject: Re: mounting by wedge name
To: None <>
From: Thor Lancelot Simon <>
List: tech-userlevel
Date: 12/24/2007 17:04:25
On Mon, Dec 24, 2007 at 03:54:50PM +0100, Bernd Ernesti wrote:
> 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.

Indeed.  If we're going to break some old behavior, here, let's break the
nasty "wd0e magically assigned to first MBR partition" behavior rather
than the way many people have their fingers trained to mount filesystems by