Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2013 19:25:27 GMT
From:      Peter Schaefer <peter.schaefer@wilhelmheinrichs.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/178996: error in message with zfs mount -> there is no "mount -F zfs" in FreeBSD
Message-ID:  <201305261925.r4QJPRY5046557@oldred.FreeBSD.org>
Resent-Message-ID: <201305261930.r4QJU0VT026528@freefall.freebsd.org>

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

>Number:         178996
>Category:       kern
>Synopsis:       error in message with zfs mount -> there is no "mount -F zfs" in FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 19:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Peter Schaefer
>Release:        9.1 RELEASE
>Organization:
Hobbyschneiderin24
>Environment:
FreeBSD rescue 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r243710M: Tue Apr 23 10:52:10 CEST 2013     root@FreeBSD:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Fiddeling around with zfs set mountpoint=legacy pool/root there is a message from /sbin/zfs which tells me to use mount -F zfs pool/root instead.
Trying to do so brings up a new error message because the -F on solaris means the filesystemtype which is the -t in FreeBSD.

Simple, not very important, but annoying for anyone not using zfs  and mount very often.

(Never reported a bug before, hope to have done everything in the right manner)
>How-To-Repeat:
#zfs umount pool/root
#zfs set mountpoint=legacy pool/root
#zfs mount pool/root /mnt

should do the job

>Fix:
6496- 	"mounted using 'mount -F zfs'\n"), dataset);
6496+ 	"mounted using 'mount -t zfs'\n"), dataset);

6499- 	(void) fprintf(stderr, gettext("If you must use 'mount -F zfs' "
6499+ 	(void) fprintf(stderr, gettext("If you must use 'mount -t zfs' "

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305261925.r4QJPRY5046557>