Re: [RFC][PATCH] parser for mount options

Alexander Viro (viro@math.psu.edu)
Tue, 7 Aug 2001 18:48:15 -0400 (EDT)


On Tue, 7 Aug 2001, Pavel Machek wrote:

> fat and isofs have pretty ugly set of options:

Yes.

> nodots and dotsOK=no are same thing (oops, you've bug there). It would
> be nice to have just one name for each function. No need to do
> second-guessing in kernel.

That's nice, but that will be a user-visible change. And I doubt that
people will be happy if mount(8) will barf on their old /etc/fstab
'cause they've been using a variant we decided to drop.

With about anything else I'd say "screw it, fixing config won't kill them",
but people tend to have very strong feelings about filesystems that suddenly
refuse to mount.

IMO the only way to sanitize such stuff is to make the options scheduled
for removal give a warning _and_ suggest the replacement. And leave them
in such state for at least one stable branch.

> > + {Opt_nodots, "nodots"},
> > + {Opt_dots, "dotsOK=no"},
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> here's bug, btw.

Bug it is - thanks for spotting. Fixed.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/