From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 22 07:10:02 2012 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36D6C1065676 for ; Fri, 22 Jun 2012 07:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DD92F8FC0C for ; Fri, 22 Jun 2012 07:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5M7A1M5083995 for ; Fri, 22 Jun 2012 07:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5M7A1x6083994; Fri, 22 Jun 2012 07:10:01 GMT (envelope-from gnats) Resent-Date: Fri, 22 Jun 2012 07:10:01 GMT Resent-Message-Id: <201206220710.q5M7A1x6083994@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, vermaden Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 319D9106566C for ; Fri, 22 Jun 2012 07:00:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1D53D8FC16 for ; Fri, 22 Jun 2012 07:00:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5M70ZQM061284 for ; Fri, 22 Jun 2012 07:00:35 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q5M70ZHO061283; Fri, 22 Jun 2012 07:00:35 GMT (envelope-from nobody) Message-Id: <201206220700.q5M70ZHO061283@red.freebsd.org> Date: Fri, 22 Jun 2012 07:00:35 GMT From: vermaden To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 22 Jun 2012 11:14:14 +0000 Cc: Subject: amd64/169317: zfs umount refers to umount(1M) but should to umount(8) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2012 07:10:02 -0000 >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: