diff options
| author | Doug Ambrisko <ambrisko@FreeBSD.org> | 2009-03-26 17:14:22 +0000 |
|---|---|---|
| committer | Doug Ambrisko <ambrisko@FreeBSD.org> | 2009-03-26 17:14:22 +0000 |
| commit | d2b2128a286a00ee53d79cb88b4e59bf42525cf9 (patch) | |
| tree | c9846c9d840f38d40234dc55f72ed1de2e7af370 /sys/compat/linux | |
| parent | f3548c023ea133e7707a08842a636a05a2c3825e (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/linux_file.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index b36842954752..54ab6a251e9f 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1109,6 +1109,9 @@ linux_mount(struct thread *td, struct linux_mount_args *args) } else if (strcmp(fstypename, "proc") == 0) { strcpy(fstypename, "linprocfs"); fsdata = NULL; + } else if (strcmp(fstypename, "vfat") == 0) { + strcpy(fstypename, "msdosfs"); + fsdata = NULL; } else { return (ENODEV); } @@ -1135,6 +1138,12 @@ linux_mount(struct thread *td, struct linux_mount_args *args) "fstype", fstypename, "fspath", mntonname, NULL); + } else if (strcmp(fstypename, "msdosfs") == 0) { + error = kernel_vmount(fsflags, + "fstype", fstypename, + "fspath", mntonname, + "from", mntfromname, + NULL); } else error = EOPNOTSUPP; return (error); |
