TMPFS in kernels

Warner Losh imp at bsdimp.com
Fri Mar 7 00:48:47 UTC 2014


On Mar 6, 2014, at 5:46 PM, Ian Lepore <ian at FreeBSD.org> wrote:

> On Thu, 2014-03-06 at 17:43 -0700, Warner Losh wrote:
>> On Mar 6, 2014, at 5:29 PM, Ian Lepore <ian at FreeBSD.org> wrote:
>> 
>>> On Thu, 2014-03-06 at 17:25 -0700, Warner Losh wrote:
>>>> On Mar 6, 2014, at 5:20 PM, Ian Lepore <ian at FreeBSD.org> wrote:
>>>> 
>>> [...]
>>>>> Yeah, for the kernel side of it, I'm just adding TMPFS to
>>>>> arm/conf/DEFAULTS since the concensus seems to be that we want it in all
>>>>> kernels.  I'm waiting for a universe-kernels build to finish and if it's
>>>>> clean I'll commit that tonight.
>>>> 
>>>> DEFAULTS was never intended for something like this.. Only for things that
>>>> must be mandatory or very nearly mandatory for the system to operate. While
>>>> useful, this isn’t mandatory by any stretch of the imagination. I strongly object
>>>> to putting it there, so please don’t commit it to DEFAULTS.
>>> 
>>> 
>>> Ooops, your email and the commit passed each other on the wires.
>>> 
>>> But... really?  An option we want in every kernel we should paste into
>>> 70+ files instead of into the one file that they all include?
>> 
>> Yes. Otherwise we’d have large parts of GENERIC in there.
>> 
>> Warner
> 
> Alright, then if that's the case I'm taking GEOM_PART_BSD and
> GEOM_PART_MBR out of there and pasting them into every kernel as well,
> because they certainly aren't mandatory (or even necessary if you use
> GPT).  That will leave just "device mem" in there.

That should have happened a long time ago…

Warner



More information about the freebsd-arm mailing list