ArchiveOrangemail archive

Porting FreeBSD to the AMD64 platform


freebsd-amd64.freebsd.org
(List home) (Recent threads) (174 other FreeBSD lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Low traffic list: less than 3 messages per day
  • This list contains about 15,117 messages, beginning May 2003
  • 1 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

amd64/169317: zfs umount refers to umount(1M) but should to umount(8)

Ad
vermaden 1340363662Fri, 22 Jun 2012 11:14:22 +0000 (UTC)
>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:>Environment:
FreeBSD e6400 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jun 13 15:28:54 UTC 2012     :/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:
Home | About | Privacy