X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=config%2FAppleVolumes.default.tmpl;h=5aa9a0c801e2d1c993981fd2a1a97f91e0a6a64a;hb=b3b7ad966fdf171d9b962bc0a5018712b8fe94e3;hp=95a3b7325a252ab2811d683dbc0d206507cdf069;hpb=7c8f26d835ee1d5952ba5fe41bda7d048375aca2;p=netatalk.git diff --git a/config/AppleVolumes.default.tmpl b/config/AppleVolumes.default.tmpl index 95a3b732..5aa9a0c8 100644 --- a/config/AppleVolumes.default.tmpl +++ b/config/AppleVolumes.default.tmpl @@ -1,7 +1,8 @@ # This file looks empty when viewed with "vi". In fact, there is one # '~', so users with no AppleVolumes file in their home directory get # their home directory by default. -# + +# # volume format: # :DEFAULT: [all of the default options except volume name] # path [name] [casefold:x] [options:z,l,j] \ @@ -10,8 +11,11 @@ # [preexec:cmd] [root_preexec:cmd] [postexec:cmd] [root_postexec:cmd] \ # [allowed_hosts:IPv4 address[/IPv4 netmask bits]] \ # [denied_hosts:IPv4 address[/IPv4 netmask bits]] \ +# ... more, see below ... # # name: volume name. it can't include the ':' character +# + # # variable substitutions: # you can use variables for both and now. here are the @@ -33,6 +37,8 @@ # $v -> volume name (either ADEID_NAME or basename of path) # $z -> zone (may not exist) # $$ -> $ +# + # # casefold options [syntax: casefold:option]: # tolower -> lowercases names in both directions @@ -58,20 +64,57 @@ # ignore for user defined volumes # root_postexec -> command to be run as root when the volume is closed, # ignore for user defined volumes +# veto -> hide files and directories,where the path matches +# one of the "/" delimited vetoed names. Matches are +# partial, e.g. path is /abc/def/file and veto:/abc/ +# will hide the file. +# adouble -> specify the format of the metadata files. +# default is "v2". netatalk 1.x used "v1". +# "osx" cannot be treated normally any longer. + + # # codepage options [syntax: options:charsetname] -# volcharset -> specifies the charset to be used as the volume codepage +# volcharset -> specifies the charset to be used +# as the volume codepage # e.g. "UTF8", "UTF8-MAC", "ISO-8859-15" -# maccharset -> specifies the charset to be used as the mac client codepage +# maccharset -> specifies the charset to be used +# as the mac client codepage # e.g. "MAC_ROMAN", "MAC_CYRILLIC" # -# perm -> default permission value OR with the client requested perm -# dperm -> default permission value for directories OR with the client -# requested perm -# fperm -> default permission value for filesOR with the client -# requested perm +# perm -> default permission value +# OR with the client requested perm +# dperm -> default permission value for directories +# OR with the client requested perm +# fperm -> default permission value for files +# OR with the client requested perm +# umask -> set perm mask +# dbpath:path -> store the database stuff in the following path. +# cnidserver:server[:port] +# -> Query this servername or IP address +# (default:localhost) and port (default: 4700) +# for CNIDs. Only used with CNID backend "dbd". +# This option here overrides any setting from +# afpd.conf:cnidserver. +# password:password -> set a volume password (8 characters max) +# cnidscheme:scheme -> set the cnid scheme for the volume, +# default is [:DEFAULT_CNID_SCHEME:] +# available schemes: [:COMPILED_BACKENDS:] +# ea -> none|auto|sys|ad +# Specify how Extended Attributes are stores. default +# is auto. +# auto: try "sys" (by setting an EA on the shared +# directory itself), fallback to "ad". Requires +# writable volume for performing the test. +# Note: options:ro overwrites "auto" with "none." +# sys: Use filesystem EAs +# ad: Use files in AppleDouble directories +# none: No EA support +# + # # miscellaneous options [syntax: options:option1,option2]: +# tm -> enable TimeMachine support # prodos -> make compatible with appleII clients. # crlf -> enable crlf translation for TEXT files. # noadouble -> don't create .AppleDouble unless a resource @@ -105,19 +148,34 @@ # volume being mounted. # nostat -> don't stat volume path when enumerating volumes list # upriv -> use unix privilege. -# illegalseq -> encode illegal sequence in filename asis, ex "\217-", which is not -# a valid SHIFT-JIS char, is encoded as U\217 - +# illegalseq -> encode illegal sequence in filename asis, +# ex "\217-", which is not a valid SHIFT-JIS char, +# is encoded as U\217 - # acls -> Enable ACLs on this volume. Requires a NFSv4 ACLs # compatible filesystem (e.g. ZFS) and an ACL API # compatible to *Solaris. In other words: this requires # Solaris, Opensolaris or a derived distribution. - -# dbpath:path -> store the database stuff in the following path. -# password:password -> set a volume password (8 characters max) -# cnidscheme:scheme -> set the cnid scheme for the volume, default is [:DEFAULT_CNID_SCHEME:] -# available schemes: [:COMPILED_BACKENDS:] +# nocnidcache -> Don't store and read CNID to/from AppleDouble file. +# This should not be used as it also prevents a CNID +# database rebuild with `dbd`! +# caseinsensitive -> The underlying FS is case insensitive (only +# test with JFS in OS2 mode) +# dropbox -> Allows a volume to be declared as being a "dropbox." +# Note that netatalk must be compiled with dropkludge +# support for this to function. Warning: This option +# is deprecated and might not work as expected. +# dropkludge -> same as "dropbox" +# nodev -> always use 0 for device number, helps when the +# device number is not constant across a reboot, +# cluster, ... # + +# The line below sets some DEFAULTS, starting with Netatalk 2.1. +:DEFAULTS: options:upriv,usedots + # The "~" below indicates that Home directories are visible by default. # If you do not wish to have people accessing their Home directories, # please put a pound sign in front of the tilde or delete it. ~ + +# End of File