From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 18 00:30:09 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5E6216A418 for ; Tue, 18 Dec 2007 00:30:09 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A20C13C44B for ; Tue, 18 Dec 2007 00:30:09 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id 917A117B53A; Tue, 18 Dec 2007 01:30:08 +0100 (CET) Received: from marvin.blogreen.org (marvin.blogreen.org [82.247.213.140]) by smtp3-g19.free.fr (Postfix) with ESMTP id C776E17B52A; Tue, 18 Dec 2007 01:30:03 +0100 (CET) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 8A63B5C053; Tue, 18 Dec 2007 01:30:03 +0100 (CET) Date: Tue, 18 Dec 2007 01:30:03 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Antony Mawer Message-ID: <20071218003003.GB40289@marvin.blogreen.org> Mail-Followup-To: Antony Mawer , Peter Jeremy , Yuri , freebsd-hackers@freebsd.org References: <1197889622.4766585626a92@webmail.rawbw.com> <20071217180921.GM85797@server.vk2pj.dyndns.org> <4766F9E3.9070304@mawer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <4766F9E3.9070304@mawer.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org, Yuri Subject: Re: Stale mount on disconnected device: how to delete it? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 00:30:09 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Antony, On Tue, Dec 18, 2007 at 09:36:19AM +1100, Antony Mawer wrote : > Every time this comes up it's branded with the "really hard to fix" > message, but I seem to recall the last time this came up Matt Dillon > chimed in and said he'd managed to fix it in Dragonfly without too > much pain. >=20 > I had a browse back a while ago at the commits on DF to try and > pinpoint the changes that were required to see how practical they were > to bring across to FreeBSD; I don't profess to be an expert and have > yet to investigate the changes in any detail, but these were the > commits I identified: >=20 > http://freshbsd.org/2007/06/14/03/55/27 > http://freshbsd.org/2007/06/17/06/08/52 > http://freshbsd.org/2007/06/14/02/09/30 > http://freshbsd.org/2007/06/13/21/58/38 > http://freshbsd.org/2007/06/13/21/53/39 >=20 > If someone else is interested in looking at this, it may provide a > useful starting point... First of all, I am not a FreeBSD kernel hacker and thus maybe I am wrong but I think that it is important to recall that DragonflyBSD is ``the logical continuation of the FreeBSD 4.x series'' [1]. As so, it does not provides geom(8) [2], AFAIK. While geom(8) is a really cool piece of code, it also adds many abstraction layers that may have to be adapted to handle such an abnormal situation. This might explain why nobody has already [tried to] fixed this. Maybe somebody from geom@ can give us further details or correct what I wrote? Best regards, Romain References: 1. http://www.dragonflybsd.org/about/history.shtml 2. http://www.freebsd.org/cgi/man.cgi?query=3Dgeom --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHZxSL2OmjP/9W/0MRAmI1AJ467moDPlcX6cw4I7ReqP/Mig+ZpgCdGwhP IMEvmndimAtonsYQRDsL0EU= =Q2PA -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--