msdos -> msdosfs.
This commit is contained in:
parent
2ede629142
commit
d95db8f60e
@ -122,7 +122,7 @@ static char *
|
||||
fstype(Chunk *c1)
|
||||
{
|
||||
if (c1->type == fat)
|
||||
return "msdos";
|
||||
return "msdosfs";
|
||||
else if (c1->type == part) {
|
||||
if (c1->subtype != FS_SWAP)
|
||||
return "ufs";
|
||||
|
@ -122,7 +122,7 @@ static char *
|
||||
fstype(Chunk *c1)
|
||||
{
|
||||
if (c1->type == fat)
|
||||
return "msdos";
|
||||
return "msdosfs";
|
||||
else if (c1->type == part) {
|
||||
if (c1->subtype != FS_SWAP)
|
||||
return "ufs";
|
||||
|
@ -66,7 +66,7 @@ mediaInitDOS(Device *dev)
|
||||
args.uid = args.gid = 0;
|
||||
args.mask = 0777;
|
||||
|
||||
if (mount("msdos", mountpoint, MNT_RDONLY, (caddr_t)&args) == -1) {
|
||||
if (mount("msdosfs", mountpoint, MNT_RDONLY, (caddr_t)&args) == -1) {
|
||||
msgConfirm("Error mounting %s on %s: %s (%u)", args.fspec, mountpoint, strerror(errno), errno);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -105,24 +105,24 @@ mediaInitFloppy(Device *dev)
|
||||
|
||||
#ifdef PC98
|
||||
sprintf(fddev, "%s.1200", dev->devname);
|
||||
if (mount("msdos", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
if (mount("msdosfs", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
goto success;
|
||||
if (mount("ufs", mp, MNT_RDONLY, (caddr_t)&u_args) != -1)
|
||||
goto success;
|
||||
|
||||
sprintf(fddev, "%s.1232", dev->devname);
|
||||
if (mount("msdos", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
if (mount("msdosfs", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
goto success;
|
||||
if (mount("ufs", mp, MNT_RDONLY, (caddr_t)&u_args) != -1)
|
||||
goto success;
|
||||
|
||||
sprintf(fddev, "%s.1440", dev->devname);
|
||||
if (mount("msdos", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
if (mount("msdosfs", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
goto success;
|
||||
if (mount("ufs", mp, MNT_RDONLY, (caddr_t)&u_args) != -1)
|
||||
goto success;
|
||||
#else
|
||||
if (mount("msdos", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
if (mount("msdosfs", mp, MNT_RDONLY, (caddr_t)&dosargs) != -1)
|
||||
goto success;
|
||||
if (mount("ufs", mp, MNT_RDONLY, (caddr_t)&u_args) != -1)
|
||||
goto success;
|
||||
|
Loading…
Reference in New Issue
Block a user