Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 1998 00:38:43 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG
Subject:   cvs commit: src/sbin/umount umount.c
Message-ID:  <199805110738.AAA27739@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1998/05/11 00:38:43 PDT

  Modified files:
    sbin/umount          umount.c 
  Log:
  Fix PR 1607, hopefully without breaking the PR 5208 fixes.
  
  umount() was trying to stat() the mountpoint, this would fail if the
  mountpoint was a NFS mountpoint, and the fallback code would try and pass
  a hostname:/dir path as the mountpoint to unmount(2), which would fail.
  
  This whole stat() of the name supplied on the command line business is
  trouble as it'll wedge on a hung NFS mount.
  
  I'm not entirely sure why we are not simply looking up both arguments
  in the mount table and doing the right thing without accessing the
  filesystem.  It seems that we're going to a lot of trouble to allow
  mountpoints on symlinks and other wierd things.
  
  PR: 1607
  
  Revision  Changes    Path
  1.14      +7 -7      src/sbin/umount/umount.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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