From owner-freebsd-bugs Wed Feb 3 09:10:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12367 for freebsd-bugs-outgoing; Wed, 3 Feb 1999 09:10:11 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA12301 for ; Wed, 3 Feb 1999 09:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id JAA71784; Wed, 3 Feb 1999 09:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) 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 X-Send-Pr-Version: 3.2 Subject: bin/9893: NFS umount of regular file impossible Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9893 >Category: bin >Synopsis: NFS umount of regular file impossible >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 3 09:10:00 PST 1999 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message