Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2002 09:54:09 -0700 (PDT)
From:      "David O'Brien" <obrien@NUXI.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/37230: mount(8) improperly parses mount device to determin if NFS
Message-ID:  <200204181654.g3IGs9in090412@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help

>Number:         37230
>Category:       bin
>Synopsis:       mount(8) improperly parses mount device to determin if NFS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 18 10:00:14 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David O'Brien
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD dragon.nuxi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #238: Fri Feb 22 21:56:02 PST 2002 rootk@dragon.nuxi.com:/FBSD/src/sys/i386/compile/DRAGON i386


	
>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.

>How-To-Repeat:
	# mount -u -o snapshot /FBSD/snapshot.20020418_09:35 /FBSD	
	nfs: -o snapshot: option not supported

>Fix:

	fix command line parsing done by mount(8) so an explicit "-t ffs"
	does not have to be used.
>Release-Note:
>Audit-Trail:
>Unformatted:

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?200204181654.g3IGs9in090412>