1 # This file looks empty when viewed with "vi". In fact, there is one
2 # '~', so users with no AppleVolumes file in their home directory get
3 # their home directory by default.
7 # :DEFAULT: [all of the default options except volume name]
8 # path [name] [casefold:x] [options:z,l,j] \
9 # [allow:a,@b,c,d] [deny:a,@b,c,d] [dbpath:path] [password:p] \
10 # [rwlist:a,@b,c,d] [rolist:a,@b,c,d] [limitsize:value in bytes] \
11 # [preexec:cmd] [root_preexec:cmd] [postexec:cmd] [root_postexec:cmd] \
12 # [allowed_hosts:IPv4 address[/IPv4 netmask bits]] \
13 # [denied_hosts:IPv4 address[/IPv4 netmask bits]] \
15 # name: volume name. it can't include the ':' character
19 # variable substitutions:
20 # you can use variables for both <path> and <name> now. here are the
22 # 1) if you specify an unknown variable, it will not get converted.
23 # 2) if you specify a known variable, but that variable doesn't have
24 # a value, it will get ignored.
27 # $b -> basename of path
28 # $c -> client's ip or appletalk address
29 # $d -> volume pathname on server
30 # $f -> full name (whatever's in the gecos field)
33 # $i -> client ip without tcp port or appletalk network
34 # $s -> server name (can be the hostname)
35 # $u -> username (if guest, it's whatever user guest is running as)
36 # $v -> volume name (either ADEID_NAME or basename of path)
37 # $z -> zone (may not exist)
42 # casefold options [syntax: casefold:option]:
43 # tolower -> lowercases names in both directions
44 # toupper -> uppercases names in both directions
45 # xlatelower -> client sees lowercase, server sees uppercase
46 # xlateupper -> client sees uppercase, server sees lowercase
48 # allow/deny/rwlist/rolist format [syntax: allow:user1,@group]:
49 # user1,@group,user2 -> allows/denies access from listed users/groups
50 # rwlist/rolist control whether or not the
51 # volume is ro for those users.
52 # allowed_hosts -> Only listed hosts and networks are allowed,
53 # all others are rejected. Example:
54 # allowed_hosts:10.1.0.0/16,10.2.1.100
55 # denied_hosts -> Listed hosts and nets are rejected,
56 # all others are allowed. Example:
57 # denied_hosts: 192.168.100/24,10.1.1.1
58 # preexec -> command to be run when the volume is mounted,
59 # ignore for user defined volumes
60 # root_preexec -> command to be run as root when the volume is mounted,
61 # ignore for user defined volumes
62 # postexec -> command to be run when the volume is closed,
63 # ignore for user defined volumes
64 # root_postexec -> command to be run as root when the volume is closed,
65 # ignore for user defined volumes
67 # codepage options [syntax: options:charsetname]
68 # volcharset -> specifies the charset to be used
69 # as the volume codepage
70 # e.g. "UTF8", "UTF8-MAC", "ISO-8859-15"
71 # maccharset -> specifies the charset to be used
72 # as the mac client codepage
73 # e.g. "MAC_ROMAN", "MAC_CYRILLIC"
75 # perm -> default permission value
76 # OR with the client requested perm
77 # dperm -> default permission value for directories
78 # OR with the client requested perm
79 # fperm -> default permission value for files
80 # OR with the client requested perm
82 # dbpath:path -> store the database stuff in the following path.
83 # password:password -> set a volume password (8 characters max)
84 # cnidscheme:scheme -> set the cnid scheme for the volume,
85 # default is [:DEFAULT_CNID_SCHEME:]
86 # available schemes: [:COMPILED_BACKENDS:]
87 # ea -> none|auto|sys|ad
88 # Specify how Extended Attributes are stores. default
90 # auto: try "sys" (by setting an EA on the shared
91 # directory itself), fallback to "ad". Requires
92 # writable volume for performing the test.
93 # Note: options:ro overwrites "auto" with "none."
94 # sys: Use filesystem EAs
95 # ad: Use files in AppleDouble directories
100 # miscellaneous options [syntax: options:option1,option2]:
101 # tm -> enable TimeMachine support
102 # prodos -> make compatible with appleII clients.
103 # crlf -> enable crlf translation for TEXT files.
104 # noadouble -> don't create .AppleDouble unless a resource
105 # fork needs to be created.
106 # ro -> mount the volume as read-only.
107 # mswindows -> enforce filename restrictions imposed by MS
108 # Windows. this will also invoke a default
109 # codepage (iso8859-1) if one isn't already
111 # nohex -> don't do :hex translations for anything
112 # except dot files. specify usedots as well if
113 # you want that turned off. note: this option
114 # makes the / character illegal.
115 # usedots -> don't do :hex translation for dot files. note: when
116 # this option gets set, certain file names
117 # become illegal. these are .Parent and
118 # anything that starts with .Apple.
119 # invisibledots -> don't do :hex translation for dot files. note: when
120 # this option gets set, certain file names
121 # become illegal. these are .Parent and
122 # anything that starts with .Apple. also, dot
123 # files created on the unix side are marked invisible.
124 # limitsize -> limit disk size reporting to 2GB. this is
125 # here for older macintoshes using newer
126 # appleshare clients. yucko.
127 # nofileid -> don't advertise createfileid, resolveid, deleteid
129 # root_preexec_close -> a non-zero return code from root_preexec close the
130 # volume being mounted.
131 # preexec_close -> a non-zero return code from preexec close the
132 # volume being mounted.
133 # nostat -> don't stat volume path when enumerating volumes list
134 # upriv -> use unix privilege.
135 # illegalseq -> encode illegal sequence in filename asis,
136 # ex "\217-", which is not a valid SHIFT-JIS char,
137 # is encoded as U\217 -
138 # acls -> Enable ACLs on this volume. Requires a NFSv4 ACLs
139 # compatible filesystem (e.g. ZFS) and an ACL API
140 # compatible to *Solaris. In other words: this requires
141 # Solaris, Opensolaris or a derived distribution.
142 # nocnidcache -> Don't store and read CNID to/from AppleDouble file.
143 # This should not be used as it also prevents a CNID
144 # database rebuild with `dbd`!
145 # caseinsensitive -> The underlying FS is case insensitive (only
146 # test with JFS in OS2 mode)
149 # The "~" below indicates that Home directories are visible by default.
150 # If you do not wish to have people accessing their Home directories,
151 # please put a pound sign in front of the tilde or delete it.