From owner-freebsd-current@FreeBSD.ORG Thu Apr 10 13:50:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 616C437B428; Thu, 10 Apr 2003 13:50:27 -0700 (PDT) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBBC743F3F; Thu, 10 Apr 2003 13:50:25 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd04.sul.t-online.de by mailout02.sul.t-online.com with smtp id 193izo-0000jX-03; Thu, 10 Apr 2003 22:50:08 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.120.61]) by fmrl04.sul.t-online.com with esmtp id 193izg-0zH9hgC; Thu, 10 Apr 2003 22:50:00 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) h3AKnxBR011506; Thu, 10 Apr 2003 22:49:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.9/8.12.9) with SMTP id h3AKnxpa002823; Thu, 10 Apr 2003 22:49:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Thu, 10 Apr 2003 22:49:59 +0200 From: Alexander Leidinger To: Sean Kelly Message-Id: <20030410224959.6e85e44d.Alexander@Leidinger.net> In-Reply-To: <20030409230818.GA31889@edgemaster.zombie.org> References: <20030408162616.60edc33c.Alexander@Leidinger.net> <20030409230818.GA31889@edgemaster.zombie.org> X-Mailer: Sylpheed version 0.8.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net cc: imp@freebsd.org cc: current@freebsd.org Subject: Re: Problem umount'ing msdosfs type filesystems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 20:50:27 -0000 On Wed, 9 Apr 2003 18:08:18 -0500 Sean Kelly wrote: > On Tue, Apr 08, 2003 at 04:26:16PM +0200, Alexander Leidinger wrote: > > has some else besides me problems with a "umount /mnt" where /mnt is the > > mountpoint of a msdosfs? -current as of 2003-04-02. > > > > (254) netchild@ttyp2 % umount -f /mnt > > umount: unmount of /mnt failed: Operation not permitted > > Er.. I don't suppose the user "netchild" has a uid of 0? Try it as root. Yes, off course... I really tried it as root, this was just to cut & paste the error message... I needed to transfer to a harddisk which was connected via USB, and there I first mounted the wrong partition, tried to umount it, it failed and then I just mounted the right partition over the already mounted one. Transfered some files, tried again to umount the partitions, failed again (of course) and then just pulled the USB plug because the disk was needed somewhere else. As I don't have user-mount enabled, and I didn't changed the terminal window between the first umount and the following mount, I did it definitively as root. I think the real error was device busy or something like this... you know, the error you get when something still accesses data on the partition you try to umount. Perhaps rev 1.69 of src/sys/fs/msdosfs/msdosfs_denode.c fixes this (I don't think so, alt least the commit message dosn't suggests something like this), I will try it as soon as the drive is available again. Bye, Alexander. -- The dark ages were caused by the Y1K problem. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7