Make (no)ro an alias for (no)readonly

This commit is contained in:
Poul-Henning Kamp 2018-12-16 18:10:55 +00:00
parent 1309bed839
commit 96a3750174
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342152

View file

@ -193,6 +193,10 @@ main(int argc, char **argv)
mdio.md_options |= MD_READONLY;
else if (!strcmp(optarg, "noreadonly"))
mdio.md_options &= ~MD_READONLY;
else if (!strcmp(optarg, "ro"))
mdio.md_options |= MD_READONLY;
else if (!strcmp(optarg, "noro"))
mdio.md_options &= ~MD_READONLY;
else if (!strcmp(optarg, "reserve"))
mdio.md_options |= MD_RESERVE;
else if (!strcmp(optarg, "noreserve"))