Date: Thu, 18 Apr 2002 10:20:03 -0700 (PDT) From: "David O'Brien" <obrien@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/37230: mount(8) improperly parses mount device to determin if NFS Message-ID: <200204181720.g3IHK3v65518@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/37230; it has been noted by GNATS. From: "David O'Brien" <obrien@FreeBSD.org> To: David Malone <dwmalone@maths.tcd.ie> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204181720.g3IHK3v65518>