amd64/169317: zfs umount refers to umount(1M) but should to
umount(8)
vermaden
vermaden at interia.pl
Fri Jun 22 07:10:02 UTC 2012
>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 at 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:
More information about the freebsd-amd64
mailing list