mount_flags
static struct mount_flags mount_flags[] = {
for (i = 0; mount_flags[i].opt != NULL; i++) {
const char *opt = mount_flags[i].opt;
if (mount_flags[i].on)
*flags |= mount_flags[i].flag;
*flags &= ~mount_flags[i].flag;