The option "fstype" does not handle the argument "msdos" correctly.

This error results from changing the name for the msdos file system
from "pcfs" to "msdos". Close PR #1105

submitted by: Thomas Wintergerst <thomas@lemur.nord.de>,
              Slaven Rezic <eserte@cs.tu-berlin.de>
This commit is contained in:
Wolfram Schneider 1997-01-28 13:18:46 +00:00
parent d00c34d948
commit fa363c34a4

View File

@ -418,6 +418,10 @@ c_fstype(arg)
new->flags = F_MTTYPE;
new->mt_data = MOUNT_MFS;
return (new);
} else if (!strcmp(arg, "msdos")) {
new->flags = F_MTTYPE;
new->mt_data = MOUNT_MSDOS;
return (new);
}
break;
case 'n':
@ -427,13 +431,6 @@ c_fstype(arg)
return (new);
}
break;
case 'p':
if (!strcmp(arg, "msdos")) {
new->flags = F_MTTYPE;
new->mt_data = MOUNT_MSDOS;
return (new);
}
break;
case 'r':
if (!strcmp(arg, "rdonly")) {
new->flags = F_MTFLAG;