1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

msdos -> msdosfs.

This commit is contained in:
Ruslan Ermilov 2001-06-01 12:16:09 +00:00
parent 2ede629142
commit d95db8f60e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77580
4 changed files with 7 additions and 7 deletions

View File

@ -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";

View File

@ -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";

View File

@ -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;
}

View File

@ -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;