From owner-freebsd-current@FreeBSD.ORG Thu Oct 20 06:51:36 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 C3E3A16A41F; Thu, 20 Oct 2005 06:51:36 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64A1643D68; Thu, 20 Oct 2005 06:51:36 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id ABB5ABC84; Thu, 20 Oct 2005 06:51:34 +0000 (UTC) To: Pawel Jakub Dawidek From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 20 Oct 2005 08:33:03 +0200." <20051020063303.GA19624@garage.freebsd.pl> Date: Thu, 20 Oct 2005 08:51:33 +0200 Message-ID: <8321.1129791093@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Brian Fundakowski Feldman , FreeBSD current mailing list , "Bjoern A. Zeeb" Subject: Re: mount memory modified after free X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Oct 2005 06:51:36 -0000 In message <20051020063303.GA19624@garage.freebsd.pl>, Pawel Jakub Dawidek writ es: >Bascially there is only one place to store mount-point's >vnode in device structure (IIRC) and if you mount the same provider twice, >it will be overwritten and you'll not be able to unmount first file system >without panicing. There is more, you also need to cope with the UFS snapshot data hung off the cdev etc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.