mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
msdos -> msdosfs.
This commit is contained in:
parent
2ede629142
commit
d95db8f60e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77580
@ -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