In message <20201025213509.GA1671@brick>, Edward Tomasz Napierala writes:
> On 1025T0717, Cy Schubert wrote:
> > In message <[email protected].
> c
> > om>
> > , Oliver Pinter writes:
> > > On Sunday, October 25, 2020, Edward Tomasz Napierala <[email protected]>
> > > wrote:
> > >
> > > > Author: trasz
> > > > Date: Sun Oct 25 14:09:00 2020
> > > > New Revision: 367038
> > > > URL: https://svnweb.freebsd.org/changeset/base/367038
> > > >
> > > > Log:
> > > >   Remove the check that prevents creating "loops" from mount_nullfs(8).
> > > >
> > > >
> > > The simple question is: why?
> > 
> > I was about to ask that myself.
> > 
> > The why is usually more important than the how.
>
> Two reasons.
>
> First, from what I can tell this is an artificial limitation which serves
> no purpose.  I thought it was to prevent some kind of deadlock between
> vnodes, so I asked kib@, and he mentioned removing that very limitation
> from the kernel code; thus, it looks to me like a historical leftover.
>
> Second, I've stumbled upon this when trying to nullfs-mount '/' on
> '/compat/ubuntu/bsd/', which would be useful for autochroot functionality,
> when (or if) it becomes a thing.

Thanks.


-- 
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
NTP:           <[email protected]>    Web:  https://nwtime.org

        The need of the many outweighs the greed of the few.


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to