Subject: Re: encrypted swap?
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 06/10/2001 14:56:22
In article <20010610034140.846DB1E4FB@thoreau.thistledown.com.au>,
Simon Burge <simonb@wasabisystems.com> wrote:
>Here's a cut at adding -o foo=bar support to getmntopts(), by adding a
>MOPT_ASSIGNMENT flag.  Two things:
>
> - I've changed the m_inverse member to be a m_flags, that
>   has options for a negative flag (eg, "nodev") so that
>   existing code doesn't need to change (but I'll change
>   all the "1"s to MOPT_NEGATIVE if I take this further).

I don't really like having m_flag and m_flags in the same struct;
I find it confusing.

Also why all the de-constification?

christos