Date: Wed, 01 Feb 2006 12:45:41 -0800 From: Julian Elischer <julian@elischer.org> To: Ensel Sharon <user@dhp.com> Cc: freebsd-hackers@freebsd.org Subject: Re: mount_nullfs removes (temporarily) schg flag from dir ... why ? Message-ID: <43E11DF5.7000203@elischer.org> In-Reply-To: <Pine.LNX.4.21.0602011518430.8684-100000@shell.dhp.com> References: <Pine.LNX.4.21.0602011518430.8684-100000@shell.dhp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E11DF5.7000203>