From 1eef492aa38331a3069c0c781cfb5c2f068e97a2 Mon Sep 17 00:00:00 2001 From: semenu Date: Fri, 3 Dec 1999 20:23:53 +0000 Subject: Added ntfs filesystem to be exported. --- usr.sbin/mountd/mountd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr.sbin/mountd') diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 1aa3f58..ffb1b6e 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -61,6 +61,7 @@ static const char rcsid[] = #include #include #include +#include #include /* XXX need isofs in include */ #include @@ -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; -- cgit v1.1