Date: Fri, 22 Jun 2012 07:00:35 GMT From: vermaden <vermaden@interia.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: amd64/169317: zfs umount refers to umount(1M) but should to umount(8) Message-ID: <201206220700.q5M70ZHO061283@red.freebsd.org> Resent-Message-ID: <201206220710.q5M7A1x6083994@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169317 >Category: amd64 >Synopsis: zfs umount refers to umount(1M) but should to umount(8) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 22 07:10:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: vermaden >Release: 9-STABLE >Organization: >Environment: FreeBSD e6400 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jun 13 15:28:54 UTC 2012 root@build-amd64-fbsd.allbsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Hi, when trying to umount pool/some/dataset and zfs(8) fails because pool/some/dataset/inside is also mounted, then it fails with error message that refers to umount(1M) instead of umount(8). # zfs umount pool/some/dataset cannot unmount 'pool/some/dataset': legacy mountpoint use umount(1M) to unmount this filesystem There are actually LOTS of such references, just type: # grep -r -E " [a-z]+\(1M\) " /usr/src Regards, vermaden >How-To-Repeat: # zfs umount pool/some/dataset cannot unmount 'pool/some/dataset': legacy mountpoint use umount(1M) to unmount this filesystem # grep -r -E " [a-z]+\(1M\) " /usr/src >Fix: 1. Find all 'foreign' references with: # grep -r -E " [a-z]+\(1M\) " /usr/src 2. Update/change them to our local ones, for example: umount(1M) --> umount(8) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206220700.q5M70ZHO061283>