/*
- * $Id: volume.c,v 1.84 2009-04-17 04:24:20 didg Exp $
+ * $Id: volume.c,v 1.85 2009-04-27 07:58:25 franklahm Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
const char *name;
} _vol_opt_name;
+
+/* Keep in sync with libatalk/util/volinfo.c ! */
static const _vol_opt_name vol_opt_names[] = {
{AFPVOL_A2VOL, "PRODOS"}, /* prodos volume */
{AFPVOL_CRLF, "CRLF"}, /* cr/lf translation */
/*
- * $Id: volume.h,v 1.30 2009-04-17 04:24:20 didg Exp $
+ * $Id: volume.h,v 1.31 2009-04-27 07:58:25 franklahm Exp $
*
* Copyright (c) 1990,1994 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#define AFPVOL_USTATFS (2<<2)
#define AFPVOL_UQUOTA (4<<2)
-/* flags that alter volume behaviour. */
+/*
+ Flags that alter volume behaviour.
+ Keep in sync with include/atalk/volinfo.h and libatalk/util/volinfo.c
+*/
#define AFPVOL_A2VOL (1 << 5) /* prodos volume */
#define AFPVOL_CRLF (1 << 6) /* cr/lf translation */
#define AFPVOL_NOADOUBLE (1 << 7) /* don't create .AppleDouble by default */
/*
- * $Id: volinfo.h,v 1.2 2005-04-28 20:49:51 bfernhomberg Exp $
+ * $Id: volinfo.h,v 1.3 2009-04-27 07:58:26 franklahm Exp $
*/
#ifndef _ATALK_VOLINFO_H
#define AFPVOL_UNIX_PRIV (1 << 17) /* support unix privileges */
#define AFPVOL_NODEV (1 << 18) /* always use 0 for device number in cnid calls
* help if device number is notconsistent across reboot
- * NOTE symlink to a different device will return an ACCESS error
- */
+ * NOTE symlink to a different device will return an ACCESS error */
+#define AFPVOL_CASEINSEN (1 << 19) /* volume is case insensitive */
+#define AFPVOL_EILSEQ (1 << 20) /* encode illegal sequence 'asis' UCS2, ex "\217-", which is not
+ a valid SHIFT-JIS char, is encoded as U\217 -*/
+#define AFPVOL_CACHE (1 << 21) /* Use adouble v2 CNID caching, default don't use it */
+#define AFPVOL_INV_DOTS (1 << 22) /* dots files are invisible */
+#define AFPVOL_EXT_ATTRS (1 << 23) /* Volume supports Extended Attributes */
+#define AFPVOL_ACLS (1 << 25) /* Volume supports ACLS */
+
+
/* handle casefolding */
#define AFPVOL_MTOUUPPER (1 << 0)
#define AFPVOL_MTOULOWER (1 << 1)
{AFPVOL_NOHEX, "NOHEX"}, /* don't do :hex translation */
{AFPVOL_USEDOTS, "USEDOTS"}, /* use real dots */
{AFPVOL_LIMITSIZE, "LIMITSIZE"}, /* limit size for older macs */
- {AFPVOL_MAPASCII, "MAPASCII"}, /* map the ascii range as well */
- {AFPVOL_DROPBOX, "DROPBOX"}, /* dropkludge dropbox support */
- {AFPVOL_NOFILEID, "NOFILEID"}, /* don't advertise createid resolveid and deleteid calls */
- {AFPVOL_NOSTAT, "NOSTAT"}, /* advertise the volume even if we can't stat() it
- * maybe because it will be mounted later in preexec */
+ {AFPVOL_MAPASCII, "MAPASCII"}, /* map the ascii range as well */
+ {AFPVOL_DROPBOX, "DROPBOX"}, /* dropkludge dropbox support */
+ {AFPVOL_NOFILEID, "NOFILEID"}, /* don't advertise createid resolveid and deleteid calls */
+ {AFPVOL_NOSTAT, "NOSTAT"}, /* advertise the volume even if we can't stat() it
+ * maybe because it will be mounted later in preexec */
{AFPVOL_UNIX_PRIV, "UNIXPRIV"}, /* support unix privileges */
{AFPVOL_NODEV, "NODEV"}, /* always use 0 for device number in cnid calls */
+ {AFPVOL_CASEINSEN, "CASEINSENSITIVE"}, /* volume is case insensitive */
+ {AFPVOL_EILSEQ, "ILLEGALSEQ"}, /* encode illegal sequence */
+ {AFPVOL_CACHE, "CACHEID"}, /* Use adouble v2 CNID caching, default don't use it */
+ {AFPVOL_INV_DOTS, "INVISIBLEDOTS"},
+ {AFPVOL_EXT_ATTRS, "EXT_ATTRS"}, /* Vol supports Extened Attributes */
+ {AFPVOL_ACLS, "ACLS"}, /* Vol supports ACLs */
{0, NULL}
};