From owner-freebsd-current Wed Feb 10 10:48:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02600 for freebsd-current-outgoing; Wed, 10 Feb 1999 10:48:46 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from relay.nuxi.com (nuxi.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02595 for ; Wed, 10 Feb 1999 10:48:45 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.1/8.9.1) id KAA21690; Wed, 10 Feb 1999 10:48:42 -0800 (PST) (envelope-from obrien) Date: Wed, 10 Feb 1999 10:48:42 -0800 From: "David O'Brien" To: mi@aldan.algebra.com Cc: current@FreeBSD.ORG Subject: Re: umount -f Message-ID: <19990210104842.A21617@relay.nuxi.com> Reply-To: obrien@NUXI.com References: <199902101814.NAA10513@misha.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <199902101814.NAA10513@misha.cisco.com>; from Mikhail Teterin on Wed, Feb 10, 1999 at 01:14:54PM -0500 X-Operating-System: FreeBSD 3.0-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Will it ever work as it appears it should? Currently I have (on 2.2.8) > > mi@xxx:/tmp (1032) umount -f phosphorus:/phosphorus > umount: /phosphorus: Device busy >From an email from Peter Wemm: In this situation, you need to do this: umount -f -t nfs phosphorus:/phosphorus This causes umount to stat("phosphorus:/phosphorus") (which fails) rather than "/mnt". I really don't understand all the reasons behind this, but there seems to be a result of a lot of hackery so that: ln -s /dev/wd0c /dev/cdrom mount /dev/cdrom /mnt umount /dev/cdrom /mnt .. works. I don't recall the problems that it has to work around, but I gather that at mount time the symlink is followed and "/dev/wd0c" is installed in the mount table - so "/dev/cdrom" would not be matched by umount(2). ----- bde commented that the current behavior is needed so that "/dev/cdrom" shows up in ``mount'' w/o args instead of "/dev/wd0c". -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message