From dada@ns1.tu-graz.ac.at Wed Feb 3 09:01:04 1999 Received: from ns1.tu-graz.ac.at (ns1.tu-graz.ac.at [129.27.2.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10692 for ; Wed, 3 Feb 1999 09:01:01 -0800 (PST) (envelope-from dada@ns1.tu-graz.ac.at) Received: from fcggsg07.icg.tu-graz.ac.at (fcggsg07.icg.tu-graz.ac.at [129.27.201.16]) by ns1.tu-graz.ac.at (8.8.6/8.8.6) with ESMTP id SAA00763 for ; Wed, 3 Feb 1999 18:00:58 +0100 (MET) Received: from localhost.tu-graz.ac.at (isdn029.tu-graz.ac.at [129.27.240.29]) by fcggsg07.icg.tu-graz.ac.at (8.8.8/8.8.8) with ESMTP id SAA21225 for ; Wed, 3 Feb 1999 18:00:56 +0100 (MET) Received: (from dada@localhost) by localhost.tu-graz.ac.at (8.8.8/8.8.8) id KAA00607; Mon, 1 Feb 1999 10:31:17 +0100 (CET) (envelope-from dada) Message-Id: <199902010931.KAA00607@localhost.tu-graz.ac.at> Date: Mon, 1 Feb 1999 10:31:17 +0100 (CET) From: dada@sbox.tu-graz.ac.at Reply-To: dada@sbox.tu-graz.ac.at To: FreeBSD-gnats-submit@freebsd.org Subject: NFS umount of regular file impossible X-Send-Pr-Version: 3.2 >Number: 9893 >Category: bin >Synopsis: NFS umount of regular file impossible >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 3 09:10:00 PST 1999 >Closed-Date: Sat Dec 18 15:39:27 PST 1999 >Last-Modified: Sat Dec 18 15:40:02 PST 1999 >Originator: Martin Kammerhofer >Release: FreeBSD 2.2.8-STABLE i386 >Organization: Graz University of Technology >Environment: NFS server allowing export of regular files with option -r to mountd(8) (Both server and client are FreeBSD 2.2.8) >Description: The mount succeeds but I know no way to unmount it. Giving the mountpoint as argument to umount(8) fails with error "not a directory or special device" since a regular file is mounted there. Giving the host:/file as argument to umount(8) always fails with "/mount/point: Device busy". >How-To-Repeat: put a file or -alldirs into server's exportlist start mountd on server with option -r on the client: mkdir /tmp/mntfile mount -t nfs server:/exported/file/on/server /tmp/mntfile Now try unmounting it! >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: green State-Changed-When: Sat Dec 18 15:39:27 PST 1999 State-Changed-Why: This has been fixed in -CURRENT and 3.3/3.4. >Unformatted: