From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 2 08:30:29 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 8914716A422; Thu, 2 Feb 2006 08:30:29 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75FE443D48; Thu, 2 Feb 2006 08:30:28 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 59E83B833; Thu, 2 Feb 2006 10:30:27 +0200 (EET) Received: (nullmailer pid 42283 invoked by uid 1002); Thu, 02 Feb 2006 08:30:27 -0000 Date: Thu, 2 Feb 2006 10:30:27 +0200 From: Vasil Dimov To: Ensel Sharon Message-ID: <20060202083027.GA42246@qlovarnika.bg.datamax> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 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 Reply-To: vd@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 08:30:29 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 01, 2006 at 03:19:24PM -0500, Ensel Sharon wrote: >=20 > If you set schg on a directory, and then make that directory the mount > point of a null_mount, the schg flag goes away. >=20 > When you unmount it, it returns. Why is this ? Because when mounted you see the root directory of the mounted filesystem. You may also notice that the owner/group and permissions "had changed". --=20 Vasil Dimov --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFD4cMjFw6SP/bBpCARAnEhAKCatBozV3FUTYIla7hWTGjn432P3QCcD8yl WzjGQoft1FAduxyzy070rCA= =u8ov -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--