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:
wosch 1997-01-28 13:18:46 +00:00
parent 5a1be49fbe
commit 763e85ffcd

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;