From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 1 20:45:43 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D80816A420 for ; Wed, 1 Feb 2006 20:45:43 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0313743D45 for ; Wed, 1 Feb 2006 20:45:42 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.17.229]) ([10.251.17.229]) by a50.ironport.com with ESMTP; 01 Feb 2006 12:45:43 -0800 Message-ID: <43E11DF5.7000203@elischer.org> Date: Wed, 01 Feb 2006 12:45:41 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ensel Sharon References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: mount_nullfs removes (temporarily) schg flag from dir ... why ? 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: Wed, 01 Feb 2006 20:45:43 -0000 Ensel Sharon wrote: >If you set schg on a directory, and then make that directory the mount >point of a null_mount, the schg flag goes away. > >When you unmount it, it returns. Why is this ? > > because the UNDERLYING directory is schg, but the new one you've covered it with is not.... >Would I see this behavior from mounting any kind of mount point on that >directory, or just when mounting a null mount on it ? > > you'll always see it unless the top root directory is schg.. maybe we should make schg also mean "you can't mount anything here" :-) >Thanks. > > >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >