Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jun 2005 11:43:37 +0200
From:      =?ISO-8859-15?Q?Jean-S=E9bastien_P=E9dron?= <jspedron@club-internet.fr>
To:        delphij@delphij.net
Cc:        freebsd-arch@freebsd.org
Subject:   Re: [PATCH RFC] Add a macro for null mount options to sbin/mount*
Message-ID:  <429D8349.5050404@club-internet.fr>
In-Reply-To: <1117613456.771.16.camel@spirit>
References:  <1117613456.771.16.camel@spirit>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6B70081B81CD925B59F5ED70
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Xin LI wrote:
> Hi, -arch@,
>
> In our mount* utilities, the null mount option, which is usually be used
> as a terminator of an option vector, is defined with some hand-rolled
> terms, e.g.: {NULL}, {NULL, 0, 0, 0}, etc.
>
> I think it would be nice to have a new macro to deal with this, say,
> MOPT_NULL, which would be extended to {NULL, 0, 0, 0}, which can act as
> an explicit initialize.  And in my opinion, something like:

This idea is really great, but may I suggest a name like MOPT_END or
MOPT_LIST_END? Because the macro should indicate the end of this vector,
  not by what it'll be replaced.

Regards,

--
Jean-Sébastien Pédron
http://www.dumbbell.fr/

PGP Key: http://www.dumbbell.fr/pgp/pubkey.asc

--------------enig6B70081B81CD925B59F5ED70
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCnYNOa+xGJsFYOlMRAnlJAJ4m4V/Zf9845ShKV7fFyn1gpaSf/ACePvf+
KWzQqilSDJRnVSCXINVDJV8=
=lnVb
-----END PGP SIGNATURE-----

--------------enig6B70081B81CD925B59F5ED70--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429D8349.5050404>