From jin@iss-p4.lbl.gov Fri Mar 21 14:58:51 1997 Received: from iss-p4.lbl.gov (iss-p4.lbl.gov [131.243.2.29]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA20168 for ; Fri, 21 Mar 1997 14:58:50 -0800 (PST) Received: (from jin@localhost) by iss-p4.lbl.gov (8.8.5/8.8.5) id OAA28272; Fri, 21 Mar 1997 14:58:49 -0800 (PST) Message-Id: <199703212258.OAA28272@iss-p4.lbl.gov> Date: Fri, 21 Mar 1997 14:58:49 -0800 (PST) From: "Jin Guojun[ITG]" Reply-To: jin@iss-p4.lbl.gov To: FreeBSD-gnats-submit@freebsd.org Subject: umount -f does not work X-Send-Pr-Version: 3.2 >Number: 3055 >Category: bin >Synopsis: umount -f does not work >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 21 15:00:01 PST 1997 >Closed-Date: Mon Aug 21 11:55:24 PDT 2000 >Last-Modified: Mon Aug 21 11:56:44 PDT 2000 >Originator: Jin Guojun[ITG] >Release: FreeBSD 2.2-RELEASE i386 >Organization: >Environment: 2.2-RELEASE >Description: "umount -f" option does not work. manual page says: ********8 NAME umount - unmount file systems SYNOPSIS umount [-fv] special | node umount -a [-fv] [-h host] [-t ufs | lfs | external_type] DESCRIPTION The umount command calls the unmount(2) system call to remove a special device or the remote node (rhost:path) from the file system tree at the point node. If either special or node are not provided, the appropriate information is taken from the fstab(5) file. The options are as follows: -a All of the file systems described in fstab(5) are unmounted. -f The file system is forcibly unmounted. Active special devices continue to work, but all other files return errors if further accesses are attempted. The root file system cannot be forcibly unmounted. ********8 >How-To-Repeat: mount test-server:/home/src/DPSS /usr/local/DPSS cd /usr/local/DPSS # umount /usr/local/DPSS umount: /usr/local/DPSS: Device busy # umount -f /usr/local/DPSS umount: /usr/local/DPSS: Device busy # umount -f test-server:/home/src/DPSS umount: /usr/local/DPSS: Device busy >Fix: >Release-Note: >Audit-Trail: From: Omachonu Ogali To: freebsd-gnats-submit@freebsd.org Cc: jin@iss-p4.lbl.gov Subject: Re: bin/3055: umount -f does not work Date: Thu, 27 Apr 2000 03:00:29 -0400 (EDT) In the previous versions of 'mount' included with FreeBSD the 'MNT_FORCE' flag (-f) was ignored, but this has been resolved in current versions. I would suggest that you upgrade to a newer version of FreeBSD if you are still affected by this problem. -- +-------------------------------------------------------------------------+ | Omachonu Ogali oogali@intranova.net | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-------------------------------------------------------------------------+ State-Changed-From-To: open->closed State-Changed-By: johan State-Changed-When: Mon Aug 21 11:55:24 PDT 2000 State-Changed-Why: Duplicate of PR 765 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=765 http://www.freebsd.org/cgi/query-pr.cgi?pr=3055 >Unformatted: