From owner-freebsd-current@FreeBSD.ORG Thu Oct 20 19:30:17 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 3CDC416A41F; Thu, 20 Oct 2005 19:30:17 +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 D4CEB43D5A; Thu, 20 Oct 2005 19:30:16 +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 77FFEBC7A; Thu, 20 Oct 2005 19:30:12 +0000 (UTC) To: Brian Fundakowski Feldman From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 20 Oct 2005 11:07:39 EDT." <20051020150739.GB43031@green.homeunix.org> Date: Thu, 20 Oct 2005 21:30:11 +0200 Message-ID: <26671.1129836611@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: "Bjoern A. Zeeb" , Pawel Jakub Dawidek , FreeBSD current mailing list 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 19:30:17 -0000 In message <20051020150739.GB43031@green.homeunix.org>, Brian Fundakowski Feldm an writes: >On Thu, Oct 20, 2005 at 08:51:33AM +0200, Poul-Henning Kamp wrote: >> 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. > >There's UFS snapshot data for read-only mounts? Yes, why shouldn't you be able to access snapshots just because you mount r/o ? -- 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.