kern/178996: error in message with zfs mount -> there is no "mount -F zfs" in FreeBSD

Peter Schaefer peter.schaefer at wilhelmheinrichs.de
Sun May 26 19:30:00 UTC 2013


>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 at 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:


More information about the freebsd-bugs mailing list