RFC: enhancing the root mount logic

Marcel Moolenaar xcllnt at mac.com
Mon Aug 23 23:44:24 UTC 2010


On Aug 23, 2010, at 2:49 PM, Ed Schouten wrote:

> * Marcel Moolenaar <marcelm at juniper.net> wrote:
>> Is this something that people feel is worth fleshing out and
>> prototyping?
> 
> Sounds awesome! This would make my writable boot cd a lot more elegant
> than it is right now. Have you thought about things like possible
> endless loops? Say, you mount a unionfs on the root of the fs itself.
> This may cause the original .mount.conf to be reinterpreted, right?

Right. I haven't thought about it. My off the cuff response is that we
should disallow it if the amount of effort required to detect it is
within reason. Alternatively, we could simply impose a global limit on
the depth of the recursion. Either appears reasonable to me, but I may
be overlooking something here...

Thoughts?

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-arch mailing list