Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/mountd Add ntfs to the list of exportable filesyste...



details:   https://anonhg.NetBSD.org/src/rev/f975ba46724d
branches:  trunk
changeset: 476250:f975ba46724d
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Sep 10 16:20:22 1999 +0000

description:
Add ntfs to the list of exportable filesystem types, now that's it's actually
exportable

diffstat:

 usr.sbin/mountd/mountd.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 952bd60ff904 -r f975ba46724d usr.sbin/mountd/mountd.c
--- a/usr.sbin/mountd/mountd.c  Fri Sep 10 16:14:02 1999 +0000
+++ b/usr.sbin/mountd/mountd.c  Fri Sep 10 16:20:22 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mountd.c,v 1.56 1999/08/25 17:26:20 mjl Exp $       */
+/* $NetBSD: mountd.c,v 1.57 1999/09/10 16:20:22 jdolecek Exp $  */
 
 /*
  * Copyright (c) 1989, 1993
@@ -51,7 +51,7 @@
 #if 0
 static char     sccsid[] = "@(#)mountd.c  8.15 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: mountd.c,v 1.56 1999/08/25 17:26:20 mjl Exp $");
+__RCSID("$NetBSD: mountd.c,v 1.57 1999/09/10 16:20:22 jdolecek Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -846,7 +846,8 @@
                    !strncmp(fsp->f_fstypename, MOUNT_NULL, MFSNAMELEN) ||
                    !strncmp(fsp->f_fstypename, MOUNT_UMAP, MFSNAMELEN) ||
                    !strncmp(fsp->f_fstypename, MOUNT_UNION, MFSNAMELEN) ||
-                   !strncmp(fsp->f_fstypename, MOUNT_CD9660, MFSNAMELEN)) {
+                   !strncmp(fsp->f_fstypename, MOUNT_CD9660, MFSNAMELEN) ||
+                   !strncmp(fsp->f_fstypename, MOUNT_NTFS, MFSNAMELEN)) {
                        bzero((char *) &targs, sizeof(targs));
                        targs.ua.fspec = NULL;
                        targs.ua.export.ex_flags = MNT_DELEXPORT;



Home | Main Index | Thread Index | Old Index