Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2003 09:23:22 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/sys mount.2 src/sys/kern vfs_mount.c
Message-ID:  <200309081623.h88GNMcj080347@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2003/09/08 09:23:22 PDT

  FreeBSD src repository

  Modified files:
    lib/libc/sys         mount.2 
    sys/kern             vfs_mount.c 
  Log:
  In the !MNT_BYFSID case, return EINVAL from unmount(2) when the
  specified directory is not found in the mount list. Before the
  MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent
  path and EINVAL for a non-mountpoint, but we can no longer distinguish
  between these cases. Of the two error codes, EINVAL was more likely
  to occur in practice, and it was the only one of the two that was
  documented.
  
  Update the manual page to match the current behaviour.
  
  Suggested by:   tjr
  Reviewed by:    tjr
  
  Revision  Changes    Path
  1.37      +12 -7     src/lib/libc/sys/mount.2
  1.110     +9 -2      src/sys/kern/vfs_mount.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309081623.h88GNMcj080347>