# codepage:filename -> load filename from nls directory.
# dbpath:path -> store the database stuff in the following path.
# password:password -> set a volume password (8 characters max)
+# nofileid -> don't advertise createfileid, resolveid, deleteid
+# calls
#
# The "~" below indicates that Home directories are visible by default.
# If you do not wish to have people accessing their Home directories,
/*
- * $Id: volume.c,v 1.25 2002-03-24 01:23:41 sibaz Exp $
+ * $Id: volume.c,v 1.26 2002-03-24 17:45:29 jmarcus Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
options[VOLOPT_FLAGS].i_value |= AFPVOL_DROPBOX;
else if (strcasecmp(p, "dropkludge") == 0)
options[VOLOPT_FLAGS].i_value |= AFPVOL_DROPBOX;
+ else if (strcasecmp(p, "nofileid") == 0)
+ options[VOLOPT_FLAGS].i_value |= AFPVOL_NOFILEID;
p = strtok(NULL, ",");
}
switch ( bit ) {
case VOLPBIT_ATTR :
#ifdef CNID_DB
- ashort = VOLPBIT_ATTR_FILEID;
+ if (0 == (vol->v_flags & AFPVOL_NOFILEID)) {
+ ashort = VOLPBIT_ATTR_FILEID;
+ }
#else /* CNID_DB */
ashort = 0;
#endif /* CNID_DB */
/*
- * $Id: volume.h,v 1.10 2002-03-13 19:29:17 srittau Exp $
+ * $Id: volume.h,v 1.11 2002-03-24 17:45:29 jmarcus Exp $
*
* Copyright (c) 1990,1994 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#define AFPVOL_LIMITSIZE (1 << 12) /* limit size for older macs */
#define AFPVOL_MAPASCII (1 << 13) /* map the ascii range as well */
#define AFPVOL_DROPBOX (1 << 14) /* dropkludge dropbox support */
+#define AFPVOL_NOFILEID (1 << 15) /* don't advertise createid resolveid and deleteid calls */
/* FPGetSrvrParms options */
#define AFPSRVR_CONFIGINFO (1 << 0)