From owner-freebsd-bugs Thu Apr 18 10:20: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3D48C37B404 for ; Thu, 18 Apr 2002 10:20:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3IHK3v65518; Thu, 18 Apr 2002 10:20:03 -0700 (PDT) (envelope-from gnats) Date: Thu, 18 Apr 2002 10:20:03 -0700 (PDT) Message-Id: <200204181720.g3IHK3v65518@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "David O'Brien" Subject: Re: bin/37230: mount(8) improperly parses mount device to determin if NFS Reply-To: "David O'Brien" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/37230; it has been noted by GNATS. From: "David O'Brien" To: David Malone Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/37230: mount(8) improperly parses mount device to determin if NFS Date: Thu, 18 Apr 2002 10:16:58 -0700 On Thu, Apr 18, 2002 at 06:05:14PM +0100, David Malone wrote: > On Thu, Apr 18, 2002 at 09:54:09AM -0700, David O'Brien wrote: > > >Description: > > > > mount(8) will believe mounts to be "-t nfs" when they obviously > > are not and cannot be. Mount does not use the RFC definition > > of a hostname or IP address to determin if something is a hostname > > or not followed by a ':'. From the example below you can see that > > mount(8) believed "/FBSD/snapshot.20020418_09" was a hostname. > > I think this is a duplicate of 33809? Yes and no. The patch in that PR is against mount_nfs, where to fix my problem mount.c needs fixing. Also the suggested fix will not fix my problem as the suggested fix assumes there will be ':' that should be handled specially (because only NFS was considered). I would suggest putting a "see also" in both PR's; or the meat of my PR to 33809. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message