1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-31 12:13:10 +00:00

Added ntfs filesystem to be exported.

This commit is contained in:
Semen Ustimenko 1999-12-03 20:23:53 +00:00
parent 5bf4211543
commit 9300c69625
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54093
2 changed files with 8 additions and 0 deletions

View File

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

View File

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