From owner-freebsd-current@FreeBSD.ORG Sat Feb 4 03:58:44 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF0AF106566B for ; Sat, 4 Feb 2012 03:58:44 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 62D588FC17 for ; Sat, 4 Feb 2012 03:58:44 +0000 (UTC) Received: by eekb47 with SMTP id b47so1619865eek.13 for ; Fri, 03 Feb 2012 19:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; bh=mClj3CXnoJS6hO0DoI8KzP8A1u+vn2177RwnVXsJssY=; b=YI3TkeNvv5I1F7pOuC/jgZqpLm6PCPszCp6S/BU5tEAZk+gh+m8a9Q6InBPSHSnrPH sNF6Jehc3j/2xCeNJcjdjm67aVhNg8PnDmSPcT79yMJlFDKXHWhhsE7X6y67mlylqpeq 5YQeKlP11LZL8oAgqmi427YKp8CtmSZG+Z33s= Received: by 10.14.17.75 with SMTP id i51mr3068558eei.70.1328327923525; Fri, 03 Feb 2012 19:58:43 -0800 (PST) Received: from ernst.jennejohn.org (p578E2EFA.dip.t-dialin.net. [87.142.46.250]) by mx.google.com with ESMTPS id y12sm29652622eeb.11.2012.02.03.19.58.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 19:58:42 -0800 (PST) Date: Sat, 4 Feb 2012 04:58:39 +0100 From: Gary Jennejohn To: dlt@mebtel.net Message-ID: <20120204045839.05be4572@ernst.jennejohn.org> In-Reply-To: <20120203185053.GA11019@oriental.arm.org> References: <20120203143438.GA2798@oriental.arm.org> <20120203185053.GA11019@oriental.arm.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Ryan Stone , current@freebsd.org Subject: Re: Can't umount a formerly mounted drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 03:58:44 -0000 On Fri, 3 Feb 2012 13:50:53 -0500 Derek Tattersall wrote: > * Ryan Stone [120203 13:41]: > > On Fri, Feb 3, 2012 at 9:34 AM, Derek Tattersall wrote: > > > I have two drives in a x86-64 machine.  Drive ada2 has current on it, and > > > drive ada1 has 9-stable on it.  At some point, while running current, I > > > mounted the /home partition from stable to copy some files and re-ipled > > > the system into stable.  every thing worked properly.  Some time later I > > > ipled current again.  I then noticed that the stable /home was mounted > > > on /mnt.  I tried to umount it but the operation failed as /dev/ada1p7 > > > was not considered mounted.  Yet with out mounting I could access all > > > the files on stable's /home, I could create and delete files. > > > > > > The current system was cvsup'ed on Wednesday this week, while the stable > > > system was cvsup'ed last Sunday.  Neither system has exhibited any > > > hiccups.  Can somebody explain what has happened her on the current > > > system and how it should be corrected? > > > > Does "mount" list anything as being mounted on /mnt? If not, are you > > sure that /mnt isn't a symlink to somewhere else? Or maybe the > > contents of the home directory were copied to /mnt by accident? > mount command on the current system does not list anything under /mnt. > ls /mnt on the current system list the top level directories on ada1p7, > the stable /home. It lists them as soon as a user logs in on a newly > booted current system. It's really frustrating. > Well, it certainly looks like Ryan's suggestion that files from /home were copied to /mnt (with nothing mounted on it) is correct. Try mounting /home to a different location, like /mnt1, and compare the dates on the suspicious files. Wouldn't surprise me to find that they differ. -- Gary Jennejohn