diff options
author | semenu <semenu@FreeBSD.org> | 1999-12-03 20:23:53 +0000 |
---|---|---|
committer | semenu <semenu@FreeBSD.org> | 1999-12-03 20:23:53 +0000 |
commit | 1eef492aa38331a3069c0c781cfb5c2f068e97a2 (patch) | |
tree | 11fdfe6d8a02ab6abdd32c2bed0c832f16328b43 /sbin | |
parent | b59f528107fa86cb904f051bc4beca3cead53aae (diff) | |
download | FreeBSD-src-1eef492aa38331a3069c0c781cfb5c2f068e97a2.zip FreeBSD-src-1eef492aa38331a3069c0c781cfb5c2f068e97a2.tar.gz |
Added ntfs filesystem to be exported.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mountd/mountd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index 1aa3f58..ffb1b6e 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -61,6 +61,7 @@ static const char rcsid[] = #include <nfs/nfs.h> #include <ufs/ufs/ufsmount.h> #include <msdosfs/msdosfsmount.h> +#include <ntfs/ntfsmount.h> #include <isofs/cd9660/cd9660_mount.h> /* XXX need isofs in include */ #include <arpa/inet.h> @@ -770,11 +771,13 @@ get_exportlist() struct iso_args ia; struct mfs_args ma; struct msdosfs_args da; + struct ntfs_args na; } targs; if (!strcmp(fsp->f_fstypename, "mfs") || !strcmp(fsp->f_fstypename, "ufs") || !strcmp(fsp->f_fstypename, "msdos") || + !strcmp(fsp->f_fstypename, "ntfs") || !strcmp(fsp->f_fstypename, "cd9660")) { targs.ua.fspec = NULL; targs.ua.export.ex_flags = MNT_DELEXPORT; @@ -1605,6 +1608,7 @@ do_mount(ep, grp, exflags, anoncrp, dirp, dirplen, fsb) #ifdef __NetBSD__ struct msdosfs_args da; #endif + struct ntfs_args na; } args; u_int32_t net; |