diff --git a/ChangeLog b/ChangeLog index 6dda750..3720d25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ ChangeLog for davfs2 -------------------- +2014-06-09 Werner Baumann (werner.baumann@onlinehome.de) + * defaults.h, mount_davfs.h, mount_davfs.c webdav.c: + Add option min_propset. + 2014-06-08 Werner Baumann (werner.baumann@onlinehome.de) * cache.c, add_node, update_directory: Fix file times if LastModified is missing. diff --git a/etc/davfs2.conf b/etc/davfs2.conf index 1a01d0c..0f7d3d9 100644 --- a/etc/davfs2.conf +++ b/etc/davfs2.conf @@ -45,6 +45,7 @@ # precheck 1 # ignore_dav_header 0 # use_compression 1 +# min_propset 0 # server_charset # connect_timeout 10 # seconds # read_timeout 30 # seconds diff --git a/man/davfs2.conf.5 b/man/davfs2.conf.5 index adc46b0..55bba35 100644 --- a/man/davfs2.conf.5 +++ b/man/davfs2.conf.5 @@ -1,4 +1,4 @@ -.TH @CONFIGFILE@ 5 2014\-04\-18 @PACKAGE_STRING@ +.TH @CONFIGFILE@ 5 2014\-06\-09 @PACKAGE_STRING@ .SH NAME @@ -297,6 +297,18 @@ Uploads will still be uncompressed. .br Default: 1 +.TP +.B min_propset +Some servers are reported to significantly slow down when the Etag and +Last-Modified properties are requested. This option will reduce the set of +WebDAV-properties requested from the server to the minimal set. Don't use it if +your file system is used for reading and writing. Without Etag or Last-Modified +davfs2 will not be able to check for changes on the server which may result +in unnecessary downloads and lost updates. This option will also effectively +disable caching of files because files in the cache can't be reused. +.br +Default: 0 + .TP .B server_charset When extracting file names from the path component of the URL, diff --git a/man/davfs2.conf.5.pot b/man/davfs2.conf.5.pot index 984529f..7ec2d6f 100644 --- a/man/davfs2.conf.5.pot +++ b/man/davfs2.conf.5.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2014-04-20 19:27+0300\n" +"POT-Creation-Date: 2014-06-09 20:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,7 +25,7 @@ msgstr "" #. type: TH #: davfs2.conf.5:1 #, no-wrap -msgid "2014-04-18" +msgid "2014-06-09" msgstr "" #. type: TH @@ -276,7 +276,7 @@ msgstr "" #. type: Plain text #: davfs2.conf.5:126 davfs2.conf.5:200 davfs2.conf.5:207 davfs2.conf.5:285 -#: davfs2.conf.5:299 davfs2.conf.5:433 +#: davfs2.conf.5:299 davfs2.conf.5:445 msgid "Default: 1" msgstr "" @@ -373,7 +373,7 @@ msgid "" msgstr "" #. type: TP -#: davfs2.conf.5:183 davfs2.conf.5:520 +#: davfs2.conf.5:183 davfs2.conf.5:532 #, no-wrap msgid "B" msgstr "" @@ -477,7 +477,7 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:230 davfs2.conf.5:423 +#: davfs2.conf.5:230 davfs2.conf.5:435 msgid "Default: 60" msgstr "" @@ -498,7 +498,7 @@ msgstr "" #. type: Plain text #: davfs2.conf.5:239 davfs2.conf.5:247 davfs2.conf.5:265 davfs2.conf.5:275 -#: davfs2.conf.5:292 davfs2.conf.5:453 davfs2.conf.5:469 +#: davfs2.conf.5:292 davfs2.conf.5:311 davfs2.conf.5:465 davfs2.conf.5:481 msgid "Default: 0" msgstr "" @@ -607,11 +607,30 @@ msgstr "" #. type: TP #: davfs2.conf.5:300 #, no-wrap +msgid "B" +msgstr "" + +#. type: Plain text +#: davfs2.conf.5:309 +msgid "" +"Some servers are reported to significantly slow down when the Etag and Last-" +"Modified properties are requested. This option will reduce the set of WebDAV-" +"properties requested from the server to the minimal set. Don't use it if " +"your file system is used for reading and writing. Without Etag or Last-" +"Modified davfs2 will not be able to check for changes on the server which " +"may result in unnecessary downloads and lost updates. This option will also " +"effectively disable caching of files because files in the cache can't be " +"reused." +msgstr "" + +#. type: TP +#: davfs2.conf.5:312 +#, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:306 +#: davfs2.conf.5:318 msgid "" "When extracting file names from the path component of the URL, " "B<@PROGRAM_NAME@> will assume they are encoded using this character set and " @@ -620,7 +639,7 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:314 +#: davfs2.conf.5:326 msgid "" "There is no means in HTTP to know the character encoding of the path " "component. There may be even different encodings within the same path, as " @@ -632,18 +651,18 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:316 +#: davfs2.conf.5:328 msgid "Default: no character set conversion" msgstr "" #. type: TP -#: davfs2.conf.5:317 +#: davfs2.conf.5:329 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:323 +#: davfs2.conf.5:335 msgid "" "When creating a TCP connection to the server B<@PROGRAM_NAME@> will wait " "that many seconds for an answer before assuming an error. If a value of '0' " @@ -652,43 +671,43 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:326 +#: davfs2.conf.5:338 msgid "" "This parameter only takes effect if the version of neon in use (neon version " "E 0.26) and the OS support non-blocking I/O." msgstr "" #. type: Plain text -#: davfs2.conf.5:328 davfs2.conf.5:443 +#: davfs2.conf.5:340 davfs2.conf.5:455 msgid "Default: 10" msgstr "" #. type: TP -#: davfs2.conf.5:329 +#: davfs2.conf.5:341 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:333 +#: davfs2.conf.5:345 msgid "" "How long in seconds B<@PROGRAM_NAME@> will wait for an answer from the " "server before assuming an error." msgstr "" #. type: Plain text -#: davfs2.conf.5:335 davfs2.conf.5:343 +#: davfs2.conf.5:347 davfs2.conf.5:355 msgid "Default: 30" msgstr "" #. type: TP -#: davfs2.conf.5:336 +#: davfs2.conf.5:348 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:341 +#: davfs2.conf.5:353 msgid "" "When B<@PROGRAM_NAME@> can not reach the server it will try again after " "B seconds. For subsequent retries the interval will be increased up " @@ -696,36 +715,36 @@ msgid "" msgstr "" #. type: TP -#: davfs2.conf.5:344 +#: davfs2.conf.5:356 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:347 +#: davfs2.conf.5:359 msgid "Maximum value of the retry interval." msgstr "" #. type: Plain text -#: davfs2.conf.5:349 +#: davfs2.conf.5:361 msgid "Default: 300" msgstr "" #. type: TP -#: davfs2.conf.5:350 +#: davfs2.conf.5:362 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:354 +#: davfs2.conf.5:366 msgid "" "When uploading a changed file fails temporarily B<@PROGRAM_NAME@> will retry " "with increasing intervals, but not more often than this." msgstr "" #. type: Plain text -#: davfs2.conf.5:359 +#: davfs2.conf.5:371 msgid "" "With a bad connection this will cause additional traffic. To reduce traffic " "caused by unsuccessful attempts option B can be set. But " @@ -733,18 +752,18 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:361 +#: davfs2.conf.5:373 msgid "Default: 15" msgstr "" #. type: TP -#: davfs2.conf.5:362 +#: davfs2.conf.5:374 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:368 +#: davfs2.conf.5:380 msgid "" "Your server might expect special headers to do what you want. Different from " "other options, this one takes two values: the name of the header and its " @@ -753,17 +772,17 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:370 +#: davfs2.conf.5:382 msgid "add_header Translate F" msgstr "" #. type: Plain text -#: davfs2.conf.5:372 +#: davfs2.conf.5:384 msgid "B<@PROGRAM_NAME@> will add header \"Translate: F\" on all requests." msgstr "" #. type: Plain text -#: davfs2.conf.5:376 +#: davfs2.conf.5:388 msgid "" "This option is cumulative. You can enter more than one add_header option and " "all of them will be added. Also add_header options from @SYS_CONF_DIR@/" @@ -771,19 +790,19 @@ msgid "" msgstr "" #. type: SH -#: davfs2.conf.5:378 +#: davfs2.conf.5:390 #, no-wrap msgid "Cache Related Options" msgstr "" #. type: TP -#: davfs2.conf.5:380 +#: davfs2.conf.5:392 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:385 +#: davfs2.conf.5:397 msgid "" "Each mounted @PACKAGE@ file system has a directory to store backups of files " "that could not be stored back to the server. This sets the name of this " @@ -791,25 +810,25 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:387 +#: davfs2.conf.5:399 msgid "Default: lost+found" msgstr "" #. type: TP -#: davfs2.conf.5:388 +#: davfs2.conf.5:400 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:392 +#: davfs2.conf.5:404 msgid "" "The directory where B<@PROGRAM_NAME@> will store cached files. For every " "mount point a subdirectory will be created." msgstr "" #. type: Plain text -#: davfs2.conf.5:396 +#: davfs2.conf.5:408 msgid "" "In the systemwide configuration file this will set the system wide cache, " "used by root. In a users configuration file it will set the cache used by " @@ -817,18 +836,18 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:398 +#: davfs2.conf.5:410 msgid "Defaults: @SYS_CACHE_DIR@ and ~/.@PACKAGE@/cache" msgstr "" #. type: TP -#: davfs2.conf.5:399 +#: davfs2.conf.5:411 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:404 +#: davfs2.conf.5:416 msgid "" "The amount of disk space in MiByte that may be used. B<@PROGRAM_NAME@> will " "always take enough space to cache open files, ignoring this value if " @@ -836,18 +855,18 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:406 +#: davfs2.conf.5:418 msgid "Default: 50" msgstr "" #. type: TP -#: davfs2.conf.5:407 +#: davfs2.conf.5:419 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:413 +#: davfs2.conf.5:425 msgid "" "B<@PROGRAM_NAME@> maintains a hash table with an entry for each known file " "or directory. This gives the number of entries in this table. For large file " @@ -856,18 +875,18 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:415 +#: davfs2.conf.5:427 msgid "Default: 1024" msgstr "" #. type: TP -#: davfs2.conf.5:416 +#: davfs2.conf.5:428 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:421 +#: davfs2.conf.5:433 msgid "" "After B<@PROGRAM_NAME@> has got information about files in a directory it " "considers it valid for this time in seconds. Note: This does not affect " @@ -875,13 +894,13 @@ msgid "" msgstr "" #. type: TP -#: davfs2.conf.5:424 +#: davfs2.conf.5:436 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:431 +#: davfs2.conf.5:443 msgid "" "When a file or directory is opened by an application, B<@PROGRAM_NAME@> will " "first check the server for a newer version. But some applications do open " @@ -891,13 +910,13 @@ msgid "" msgstr "" #. type: TP -#: davfs2.conf.5:434 +#: davfs2.conf.5:446 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:441 +#: davfs2.conf.5:453 msgid "" "When a file that has been changed is closed, B<@PROGRAM_NAME@> will wait " "that many seconds before it will upload it to the server. This will avoid " @@ -907,13 +926,13 @@ msgid "" msgstr "" #. type: TP -#: davfs2.conf.5:444 +#: davfs2.conf.5:456 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:451 +#: davfs2.conf.5:463 msgid "" "When a file is opened, B<@PROGRAM_NAME@> will have to check the server " "whether there is a newer version. Graphical User Interfaces tend to open " @@ -923,13 +942,13 @@ msgid "" msgstr "" #. type: TP -#: davfs2.conf.5:454 +#: davfs2.conf.5:466 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:462 +#: davfs2.conf.5:474 msgid "" "davfs2 holds information about files and directories in the working memory. " "It will stay there as long as the file system is mounted and the file is not " @@ -939,7 +958,7 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:467 +#: davfs2.conf.5:479 msgid "" "B Most file attributes are only maintained locally because there " "is no corresponding WebDAV property. So if users change attributes (owner, " @@ -948,19 +967,19 @@ msgid "" msgstr "" #. type: SH -#: davfs2.conf.5:471 +#: davfs2.conf.5:483 #, no-wrap msgid "Debugging Options" msgstr "" #. type: TP -#: davfs2.conf.5:473 +#: davfs2.conf.5:485 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:481 +#: davfs2.conf.5:493 msgid "" "Send debug messages to the syslog daemon. The value tells what kind of " "information shall be logged. The messages are send with facility LOG_DAEMON " @@ -971,7 +990,7 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:485 +#: davfs2.conf.5:497 msgid "" "Unlike other options, this option is cumulative. If there are several debug " "entries with different values, all of them will be applied. Also debug " @@ -980,171 +999,171 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:488 +#: davfs2.conf.5:500 msgid "" "B Debug messages let the log-files grow quickly. Never use this " "option in normal operation of mount.davfs." msgstr "" #. type: Plain text -#: davfs2.conf.5:490 +#: davfs2.conf.5:502 msgid "Default: no debugging messages" msgstr "" #. type: TP -#: davfs2.conf.5:491 +#: davfs2.conf.5:503 #, no-wrap msgid "B" msgstr "" #. type: TP -#: davfs2.conf.5:493 +#: davfs2.conf.5:505 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:496 +#: davfs2.conf.5:508 msgid "Command line and configuration options." msgstr "" #. type: TP -#: davfs2.conf.5:496 +#: davfs2.conf.5:508 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:499 +#: davfs2.conf.5:511 msgid "Upcalls from the kernel file system." msgstr "" #. type: TP -#: davfs2.conf.5:499 +#: davfs2.conf.5:511 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:502 +#: davfs2.conf.5:514 msgid "Cache operations like adding and removing nodes." msgstr "" #. type: TP -#: davfs2.conf.5:502 +#: davfs2.conf.5:514 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:505 +#: davfs2.conf.5:517 msgid "HTTP headers." msgstr "" #. type: TP -#: davfs2.conf.5:505 +#: davfs2.conf.5:517 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:508 +#: davfs2.conf.5:520 msgid "Parsing of the XML-body of WebDAV-requests." msgstr "" #. type: TP -#: davfs2.conf.5:508 +#: davfs2.conf.5:520 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:511 +#: davfs2.conf.5:523 msgid "Negotiation of authentication." msgstr "" #. type: TP -#: davfs2.conf.5:511 +#: davfs2.conf.5:523 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:514 +#: davfs2.conf.5:526 msgid "Information about locks." msgstr "" #. type: TP -#: davfs2.conf.5:514 +#: davfs2.conf.5:526 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:517 +#: davfs2.conf.5:529 msgid "TLS/SSL related stuff like certificates." msgstr "" #. type: TP -#: davfs2.conf.5:517 +#: davfs2.conf.5:529 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:520 +#: davfs2.conf.5:532 msgid "Complete body of HTTP-responses." msgstr "" #. type: Plain text -#: davfs2.conf.5:523 +#: davfs2.conf.5:535 msgid "" "Also print confidential information, which is usually omitted or obscured." msgstr "" #. type: TP -#: davfs2.conf.5:523 +#: davfs2.conf.5:535 #, no-wrap msgid "B" msgstr "" #. type: Plain text -#: davfs2.conf.5:526 +#: davfs2.conf.5:538 msgid "Includes config, kernel, cache and http." msgstr "" #. type: SH -#: davfs2.conf.5:529 mount.davfs.8:547 umount.davfs.8:79 +#: davfs2.conf.5:541 mount.davfs.8:547 umount.davfs.8:79 #, no-wrap msgid "AUTHORS" msgstr "" #. type: Plain text -#: davfs2.conf.5:533 +#: davfs2.conf.5:545 msgid "" "This man page was written by by Werner Baumann Ewerner." "baumann@onlinehome.deE." msgstr "" #. type: SH -#: davfs2.conf.5:535 mount.davfs.8:564 umount.davfs.8:84 +#: davfs2.conf.5:547 mount.davfs.8:564 umount.davfs.8:84 #, no-wrap msgid "DAVFS2 HOME" msgstr "" #. type: Plain text -#: davfs2.conf.5:538 mount.davfs.8:567 umount.davfs.8:87 +#: davfs2.conf.5:550 mount.davfs.8:567 umount.davfs.8:87 msgid "@PACKAGE_BUGREPORT@" msgstr "" #. type: SH -#: davfs2.conf.5:540 mount.davfs.8:569 umount.davfs.8:89 +#: davfs2.conf.5:552 mount.davfs.8:569 umount.davfs.8:89 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text -#: davfs2.conf.5:546 +#: davfs2.conf.5:558 msgid "" "B<@PROGRAM_NAME@>(8), B(8), B(8), B(8), " "B(5)" diff --git a/man/de/davfs2.conf.5.po b/man/de/davfs2.conf.5.po index 5604e48..800d64f 100644 --- a/man/de/davfs2.conf.5.po +++ b/man/de/davfs2.conf.5.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: davfs2 1.5.0\n" -"POT-Creation-Date: 2014-04-20 19:27+0300\n" -"PO-Revision-Date: 2014-04-20 19:30+0200\n" +"POT-Creation-Date: 2014-06-09 20:27+0300\n" +"PO-Revision-Date: 2014-06-09 20:28+0200\n" "Last-Translator: Werner Baumann \n" "Language-Team: \n" "Language: \n" @@ -25,8 +25,8 @@ msgstr "@CONFIGFILE@" #. type: TH #: davfs2.conf.5:1 #, no-wrap -msgid "2014-04-18" -msgstr "2014-04-18" +msgid "2014-06-09" +msgstr "2014-06-09" # type: TH #. type: TH @@ -365,7 +365,7 @@ msgstr "" # type: Plain text #. type: Plain text #: davfs2.conf.5:126 davfs2.conf.5:200 davfs2.conf.5:207 davfs2.conf.5:285 -#: davfs2.conf.5:299 davfs2.conf.5:433 +#: davfs2.conf.5:299 davfs2.conf.5:445 msgid "Default: 1" msgstr "Voreingestellt: 1" @@ -499,7 +499,7 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:183 davfs2.conf.5:520 +#: davfs2.conf.5:183 davfs2.conf.5:532 #, no-wrap msgid "B" msgstr "B" @@ -638,7 +638,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:230 davfs2.conf.5:423 +#: davfs2.conf.5:230 davfs2.conf.5:435 msgid "Default: 60" msgstr "Voreingestellt: 60" @@ -666,7 +666,7 @@ msgstr "" # type: Plain text #. type: Plain text #: davfs2.conf.5:239 davfs2.conf.5:247 davfs2.conf.5:265 davfs2.conf.5:275 -#: davfs2.conf.5:292 davfs2.conf.5:453 davfs2.conf.5:469 +#: davfs2.conf.5:292 davfs2.conf.5:311 davfs2.conf.5:465 davfs2.conf.5:481 msgid "Default: 0" msgstr "Voreingestellt: 0" @@ -818,12 +818,40 @@ msgstr "" #. type: TP #: davfs2.conf.5:300 #, no-wrap +msgid "B" +msgstr "B" + +#. type: Plain text +#: davfs2.conf.5:309 +msgid "" +"Some servers are reported to significantly slow down when the Etag and Last-" +"Modified properties are requested. This option will reduce the set of WebDAV-" +"properties requested from the server to the minimal set. Don't use it if " +"your file system is used for reading and writing. Without Etag or Last-" +"Modified davfs2 will not be able to check for changes on the server which " +"may result in unnecessary downloads and lost updates. This option will also " +"effectively disable caching of files because files in the cache can't be " +"reused." +msgstr "" +"Von manchen Servern wird berichtet, dass sie erheblich langsamer werden, " +"wenn Etag und Last-Modified abgefragt werden. Diese Option reduziert die vom " +"Server abgefragten WebDAV-Properties auf das Minimum. Wenn das Dateisystem " +"für Schreib- und Lesezugriffe verwendet wird, darf dies Option nicht gesetzt " +"werden. Ohne Etag oder Last-Modified kann davfs2 Änderungen auf dem Server " +"nicht erkennen, was zu überflüssigen Downloads und zum Verlust von " +"Änderungen führen kann. Der Datei-Cache wird dadurch auch nutzlos, da " +"Dateien im Cache nicht wieder verwendet werden können." + +# type: TP +#. type: TP +#: davfs2.conf.5:312 +#, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:306 +#: davfs2.conf.5:318 msgid "" "When extracting file names from the path component of the URL, " "B<@PROGRAM_NAME@> will assume they are encoded using this character set and " @@ -838,7 +866,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:314 +#: davfs2.conf.5:326 msgid "" "There is no means in HTTP to know the character encoding of the path " "component. There may be even different encodings within the same path, as " @@ -861,20 +889,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:316 +#: davfs2.conf.5:328 msgid "Default: no character set conversion" msgstr "Voreingestellt: die Kodierung wird nicht umgewandelt" # type: TP #. type: TP -#: davfs2.conf.5:317 +#: davfs2.conf.5:329 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:323 +#: davfs2.conf.5:335 msgid "" "When creating a TCP connection to the server B<@PROGRAM_NAME@> will wait " "that many seconds for an answer before assuming an error. If a value of '0' " @@ -887,7 +915,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:326 +#: davfs2.conf.5:338 msgid "" "This parameter only takes effect if the version of neon in use (neon version " "E 0.26) and the OS support non-blocking I/O." @@ -898,20 +926,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:328 davfs2.conf.5:443 +#: davfs2.conf.5:340 davfs2.conf.5:455 msgid "Default: 10" msgstr "Voreingestellt: 10" # type: TP #. type: TP -#: davfs2.conf.5:329 +#: davfs2.conf.5:341 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:333 +#: davfs2.conf.5:345 msgid "" "How long in seconds B<@PROGRAM_NAME@> will wait for an answer from the " "server before assuming an error." @@ -921,20 +949,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:335 davfs2.conf.5:343 +#: davfs2.conf.5:347 davfs2.conf.5:355 msgid "Default: 30" msgstr "Voreingestellt: 30" # type: TP #. type: TP -#: davfs2.conf.5:336 +#: davfs2.conf.5:348 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:341 +#: davfs2.conf.5:353 msgid "" "When B<@PROGRAM_NAME@> can not reach the server it will try again after " "B seconds. For subsequent retries the interval will be increased up " @@ -946,33 +974,33 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:344 +#: davfs2.conf.5:356 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:347 +#: davfs2.conf.5:359 msgid "Maximum value of the retry interval." msgstr "Maximales retry-Intervall." # type: Plain text #. type: Plain text -#: davfs2.conf.5:349 +#: davfs2.conf.5:361 msgid "Default: 300" msgstr "Voreingestellt: 300" # type: TP #. type: TP -#: davfs2.conf.5:350 +#: davfs2.conf.5:362 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:354 +#: davfs2.conf.5:366 msgid "" "When uploading a changed file fails temporarily B<@PROGRAM_NAME@> will retry " "with increasing intervals, but not more often than this." @@ -983,7 +1011,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:359 +#: davfs2.conf.5:371 msgid "" "With a bad connection this will cause additional traffic. To reduce traffic " "caused by unsuccessful attempts option B can be set. But " @@ -996,20 +1024,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:361 +#: davfs2.conf.5:373 msgid "Default: 15" msgstr "Voreingestellt: 15" # type: TP #. type: TP -#: davfs2.conf.5:362 +#: davfs2.conf.5:374 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:368 +#: davfs2.conf.5:380 msgid "" "Your server might expect special headers to do what you want. Different from " "other options, this one takes two values: the name of the header and its " @@ -1024,13 +1052,13 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:370 +#: davfs2.conf.5:382 msgid "add_header Translate F" msgstr "add_header Translate F" # type: Plain text #. type: Plain text -#: davfs2.conf.5:372 +#: davfs2.conf.5:384 msgid "B<@PROGRAM_NAME@> will add header \"Translate: F\" on all requests." msgstr "" "B<@PROGRAM_NAME@> sendet nun den Header \"Translate: F\" bei allen Anfragen " @@ -1038,7 +1066,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:376 +#: davfs2.conf.5:388 msgid "" "This option is cumulative. You can enter more than one add_header option and " "all of them will be added. Also add_header options from @SYS_CONF_DIR@/" @@ -1050,21 +1078,21 @@ msgstr "" # type: SH #. type: SH -#: davfs2.conf.5:378 +#: davfs2.conf.5:390 #, no-wrap msgid "Cache Related Options" msgstr "Cache-Optionen" # type: TP #. type: TP -#: davfs2.conf.5:380 +#: davfs2.conf.5:392 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:385 +#: davfs2.conf.5:397 msgid "" "Each mounted @PACKAGE@ file system has a directory to store backups of files " "that could not be stored back to the server. This sets the name of this " @@ -1076,20 +1104,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:387 +#: davfs2.conf.5:399 msgid "Default: lost+found" msgstr "Voreingestellt: lost+found" # type: TP #. type: TP -#: davfs2.conf.5:388 +#: davfs2.conf.5:400 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:392 +#: davfs2.conf.5:404 msgid "" "The directory where B<@PROGRAM_NAME@> will store cached files. For every " "mount point a subdirectory will be created." @@ -1099,7 +1127,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:396 +#: davfs2.conf.5:408 msgid "" "In the systemwide configuration file this will set the system wide cache, " "used by root. In a users configuration file it will set the cache used by " @@ -1111,20 +1139,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:398 +#: davfs2.conf.5:410 msgid "Defaults: @SYS_CACHE_DIR@ and ~/.@PACKAGE@/cache" msgstr "Voreingestellt: @SYS_CACHE_DIR@ und ~/.@PACKAGE@/cache" # type: TP #. type: TP -#: davfs2.conf.5:399 +#: davfs2.conf.5:411 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:404 +#: davfs2.conf.5:416 msgid "" "The amount of disk space in MiByte that may be used. B<@PROGRAM_NAME@> will " "always take enough space to cache open files, ignoring this value if " @@ -1136,20 +1164,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:406 +#: davfs2.conf.5:418 msgid "Default: 50" msgstr "Voreingestellt: 50" # type: TP #. type: TP -#: davfs2.conf.5:407 +#: davfs2.conf.5:419 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:413 +#: davfs2.conf.5:425 msgid "" "B<@PROGRAM_NAME@> maintains a hash table with an entry for each known file " "or directory. This gives the number of entries in this table. For large file " @@ -1163,20 +1191,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:415 +#: davfs2.conf.5:427 msgid "Default: 1024" msgstr "Voreingestellt: 1024" # type: TP #. type: TP -#: davfs2.conf.5:416 +#: davfs2.conf.5:428 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:421 +#: davfs2.conf.5:433 msgid "" "After B<@PROGRAM_NAME@> has got information about files in a directory it " "considers it valid for this time in seconds. Note: This does not affect " @@ -1188,14 +1216,14 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:424 +#: davfs2.conf.5:436 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:431 +#: davfs2.conf.5:443 msgid "" "When a file or directory is opened by an application, B<@PROGRAM_NAME@> will " "first check the server for a newer version. But some applications do open " @@ -1211,14 +1239,14 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:434 +#: davfs2.conf.5:446 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:441 +#: davfs2.conf.5:453 msgid "" "When a file that has been changed is closed, B<@PROGRAM_NAME@> will wait " "that many seconds before it will upload it to the server. This will avoid " @@ -1234,14 +1262,14 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:444 +#: davfs2.conf.5:456 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:451 +#: davfs2.conf.5:463 msgid "" "When a file is opened, B<@PROGRAM_NAME@> will have to check the server " "whether there is a newer version. Graphical User Interfaces tend to open " @@ -1258,13 +1286,13 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:454 +#: davfs2.conf.5:466 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: davfs2.conf.5:462 +#: davfs2.conf.5:474 msgid "" "davfs2 holds information about files and directories in the working memory. " "It will stay there as long as the file system is mounted and the file is not " @@ -1280,7 +1308,7 @@ msgstr "" "einige Zeit nicht benutzt wurden. 0 = nein, 1 = ja." #. type: Plain text -#: davfs2.conf.5:467 +#: davfs2.conf.5:479 msgid "" "B Most file attributes are only maintained locally because there " "is no corresponding WebDAV property. So if users change attributes (owner, " @@ -1294,21 +1322,21 @@ msgstr "" # type: SH #. type: SH -#: davfs2.conf.5:471 +#: davfs2.conf.5:483 #, no-wrap msgid "Debugging Options" msgstr "Debugging Optionen" # type: TP #. type: TP -#: davfs2.conf.5:473 +#: davfs2.conf.5:485 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:481 +#: davfs2.conf.5:493 msgid "" "Send debug messages to the syslog daemon. The value tells what kind of " "information shall be logged. The messages are send with facility LOG_DAEMON " @@ -1326,7 +1354,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:485 +#: davfs2.conf.5:497 msgid "" "Unlike other options, this option is cumulative. If there are several debug " "entries with different values, all of them will be applied. Also debug " @@ -1340,7 +1368,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:488 +#: davfs2.conf.5:500 msgid "" "B Debug messages let the log-files grow quickly. Never use this " "option in normal operation of mount.davfs." @@ -1350,53 +1378,53 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:490 +#: davfs2.conf.5:502 msgid "Default: no debugging messages" msgstr "Voreinstellung: keine Debug-Meldungen." # type: Plain text #. type: TP -#: davfs2.conf.5:491 +#: davfs2.conf.5:503 #, no-wrap msgid "B" msgstr "B" # type: TP #. type: TP -#: davfs2.conf.5:493 +#: davfs2.conf.5:505 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:496 +#: davfs2.conf.5:508 msgid "Command line and configuration options." msgstr "Kommando-Zeile und Kofigurationsoptionen." # type: TP #. type: TP -#: davfs2.conf.5:496 +#: davfs2.conf.5:508 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:499 +#: davfs2.conf.5:511 msgid "Upcalls from the kernel file system." msgstr "Anfragen vom Kernel-Dateisystem." # type: TP #. type: TP -#: davfs2.conf.5:499 +#: davfs2.conf.5:511 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:502 +#: davfs2.conf.5:514 msgid "Cache operations like adding and removing nodes." msgstr "" "Cache-Operationen wie das Erzeugen und Löschen von Dateien und " @@ -1404,85 +1432,85 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:502 +#: davfs2.conf.5:514 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:505 +#: davfs2.conf.5:517 msgid "HTTP headers." msgstr "HTTP-Header." # type: TP #. type: TP -#: davfs2.conf.5:505 +#: davfs2.conf.5:517 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:508 +#: davfs2.conf.5:520 msgid "Parsing of the XML-body of WebDAV-requests." msgstr "Analysieren von XML-Daten in WebDAV-Anfragen." # type: TP #. type: TP -#: davfs2.conf.5:508 +#: davfs2.conf.5:520 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:511 +#: davfs2.conf.5:523 msgid "Negotiation of authentication." msgstr "Aushandeln der Authentifizierung." # type: TP #. type: TP -#: davfs2.conf.5:511 +#: davfs2.conf.5:523 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:514 +#: davfs2.conf.5:526 msgid "Information about locks." msgstr "Informationen über Sperren." # type: TP #. type: TP -#: davfs2.conf.5:514 +#: davfs2.conf.5:526 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:517 +#: davfs2.conf.5:529 msgid "TLS/SSL related stuff like certificates." msgstr "TLS/SSL-Informatinen, z.B. Zertifikate." # type: TP #. type: TP -#: davfs2.conf.5:517 +#: davfs2.conf.5:529 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:520 +#: davfs2.conf.5:532 msgid "Complete body of HTTP-responses." msgstr "Der komplette Datenteil von HTTP-Antworten." # type: Plain text #. type: Plain text -#: davfs2.conf.5:523 +#: davfs2.conf.5:535 msgid "" "Also print confidential information, which is usually omitted or obscured." msgstr "" @@ -1490,27 +1518,27 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:523 +#: davfs2.conf.5:535 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:526 +#: davfs2.conf.5:538 msgid "Includes config, kernel, cache and http." msgstr "Beinhaltet config, kernel, cache und http." # type: SH #. type: SH -#: davfs2.conf.5:529 mount.davfs.8:547 umount.davfs.8:79 +#: davfs2.conf.5:541 mount.davfs.8:547 umount.davfs.8:79 #, no-wrap msgid "AUTHORS" msgstr "AUTOREN" # type: Plain text #. type: Plain text -#: davfs2.conf.5:533 +#: davfs2.conf.5:545 msgid "" "This man page was written by by Werner Baumann Ewerner." "baumann@onlinehome.deE." @@ -1520,27 +1548,27 @@ msgstr "" # type: SH #. type: SH -#: davfs2.conf.5:535 mount.davfs.8:564 umount.davfs.8:84 +#: davfs2.conf.5:547 mount.davfs.8:564 umount.davfs.8:84 #, no-wrap msgid "DAVFS2 HOME" msgstr "DAVFS2 HOME" # type: TH #. type: Plain text -#: davfs2.conf.5:538 mount.davfs.8:567 umount.davfs.8:87 +#: davfs2.conf.5:550 mount.davfs.8:567 umount.davfs.8:87 msgid "@PACKAGE_BUGREPORT@" msgstr "@PACKAGE_BUGREPORT@" # type: SH #. type: SH -#: davfs2.conf.5:540 mount.davfs.8:569 umount.davfs.8:89 +#: davfs2.conf.5:552 mount.davfs.8:569 umount.davfs.8:89 #, no-wrap msgid "SEE ALSO" msgstr "SIEHE AUCH" # type: Plain text #. type: Plain text -#: davfs2.conf.5:546 +#: davfs2.conf.5:558 msgid "" "B<@PROGRAM_NAME@>(8), B(8), B(8), B(8), " "B(5)" diff --git a/man/es/davfs2.conf.5.po b/man/es/davfs2.conf.5.po index 51ec5b1..d5862f3 100644 --- a/man/es/davfs2.conf.5.po +++ b/man/es/davfs2.conf.5.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: davfs2.conf.5\n" -"POT-Creation-Date: 2014-04-20 19:27+0300\n" +"POT-Creation-Date: 2014-06-09 20:29+0300\n" "PO-Revision-Date: 2007-04-26 01:24-0300\n" "Last-Translator: Luciano Bello \n" "Language-Team: Español \n" @@ -29,7 +29,7 @@ msgstr "@CONFIGFILE@" #: davfs2.conf.5:1 #, fuzzy, no-wrap #| msgid "2011-04-03" -msgid "2014-04-18" +msgid "2014-06-09" msgstr "2011-04-03" # type: TH @@ -368,7 +368,7 @@ msgstr "" # type: Plain text #. type: Plain text #: davfs2.conf.5:126 davfs2.conf.5:200 davfs2.conf.5:207 davfs2.conf.5:285 -#: davfs2.conf.5:299 davfs2.conf.5:433 +#: davfs2.conf.5:299 davfs2.conf.5:445 msgid "Default: 1" msgstr "Predeterminado: 1" @@ -487,7 +487,7 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:183 davfs2.conf.5:520 +#: davfs2.conf.5:183 davfs2.conf.5:532 #, no-wrap msgid "B" msgstr "B" @@ -628,7 +628,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:230 davfs2.conf.5:423 +#: davfs2.conf.5:230 davfs2.conf.5:435 msgid "Default: 60" msgstr "Predeterminado: 60" @@ -656,7 +656,7 @@ msgstr "" # type: Plain text #. type: Plain text #: davfs2.conf.5:239 davfs2.conf.5:247 davfs2.conf.5:265 davfs2.conf.5:275 -#: davfs2.conf.5:292 davfs2.conf.5:453 davfs2.conf.5:469 +#: davfs2.conf.5:292 davfs2.conf.5:311 davfs2.conf.5:465 davfs2.conf.5:481 msgid "Default: 0" msgstr "Predeterminado: 0" @@ -779,13 +779,34 @@ msgstr "" # type: TP #. type: TP #: davfs2.conf.5:300 +#, fuzzy, no-wrap +#| msgid "B" +msgid "B" +msgstr "B" + +#. type: Plain text +#: davfs2.conf.5:309 +msgid "" +"Some servers are reported to significantly slow down when the Etag and Last-" +"Modified properties are requested. This option will reduce the set of WebDAV-" +"properties requested from the server to the minimal set. Don't use it if " +"your file system is used for reading and writing. Without Etag or Last-" +"Modified davfs2 will not be able to check for changes on the server which " +"may result in unnecessary downloads and lost updates. This option will also " +"effectively disable caching of files because files in the cache can't be " +"reused." +msgstr "" + +# type: TP +#. type: TP +#: davfs2.conf.5:312 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:306 +#: davfs2.conf.5:318 msgid "" "When extracting file names from the path component of the URL, " "B<@PROGRAM_NAME@> will assume they are encoded using this character set and " @@ -800,7 +821,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:314 +#: davfs2.conf.5:326 msgid "" "There is no means in HTTP to know the character encoding of the path " "component. There may be even different encodings within the same path, as " @@ -821,20 +842,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:316 +#: davfs2.conf.5:328 msgid "Default: no character set conversion" msgstr "Predeterminado: no convertir el mapa de caracteres" # type: TP #. type: TP -#: davfs2.conf.5:317 +#: davfs2.conf.5:329 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:323 +#: davfs2.conf.5:335 msgid "" "When creating a TCP connection to the server B<@PROGRAM_NAME@> will wait " "that many seconds for an answer before assuming an error. If a value of '0' " @@ -844,7 +865,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:326 +#: davfs2.conf.5:338 msgid "" "This parameter only takes effect if the version of neon in use (neon version " "E 0.26) and the OS support non-blocking I/O." @@ -852,20 +873,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:328 davfs2.conf.5:443 +#: davfs2.conf.5:340 davfs2.conf.5:455 msgid "Default: 10" msgstr "Predeterminado: 10" # type: TP #. type: TP -#: davfs2.conf.5:329 +#: davfs2.conf.5:341 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:333 +#: davfs2.conf.5:345 msgid "" "How long in seconds B<@PROGRAM_NAME@> will wait for an answer from the " "server before assuming an error." @@ -875,20 +896,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:335 davfs2.conf.5:343 +#: davfs2.conf.5:347 davfs2.conf.5:355 msgid "Default: 30" msgstr "Predeterminado: 30" # type: TP #. type: TP -#: davfs2.conf.5:336 +#: davfs2.conf.5:348 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:341 +#: davfs2.conf.5:353 msgid "" "When B<@PROGRAM_NAME@> can not reach the server it will try again after " "B seconds. For subsequent retries the interval will be increased up " @@ -900,33 +921,33 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:344 +#: davfs2.conf.5:356 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:347 +#: davfs2.conf.5:359 msgid "Maximum value of the retry interval." msgstr "Máximo valor para el intervalo de reintento." # type: Plain text #. type: Plain text -#: davfs2.conf.5:349 +#: davfs2.conf.5:361 msgid "Default: 300" msgstr "Predeterminado: 300" # type: TP #. type: TP -#: davfs2.conf.5:350 +#: davfs2.conf.5:362 #, no-wrap msgid "B" msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:354 +#: davfs2.conf.5:366 msgid "" "When uploading a changed file fails temporarily B<@PROGRAM_NAME@> will retry " "with increasing intervals, but not more often than this." @@ -934,7 +955,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:359 +#: davfs2.conf.5:371 msgid "" "With a bad connection this will cause additional traffic. To reduce traffic " "caused by unsuccessful attempts option B can be set. But " @@ -943,21 +964,21 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:361 +#: davfs2.conf.5:373 #, fuzzy msgid "Default: 15" msgstr "Predeterminado: 1" # type: TP #. type: TP -#: davfs2.conf.5:362 +#: davfs2.conf.5:374 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:368 +#: davfs2.conf.5:380 msgid "" "Your server might expect special headers to do what you want. Different from " "other options, this one takes two values: the name of the header and its " @@ -967,19 +988,19 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:370 +#: davfs2.conf.5:382 msgid "add_header Translate F" msgstr "add_header Translate F" # type: Plain text #. type: Plain text -#: davfs2.conf.5:372 +#: davfs2.conf.5:384 msgid "B<@PROGRAM_NAME@> will add header \"Translate: F\" on all requests." msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:376 +#: davfs2.conf.5:388 msgid "" "This option is cumulative. You can enter more than one add_header option and " "all of them will be added. Also add_header options from @SYS_CONF_DIR@/" @@ -988,21 +1009,21 @@ msgstr "" # type: SH #. type: SH -#: davfs2.conf.5:378 +#: davfs2.conf.5:390 #, no-wrap msgid "Cache Related Options" msgstr "Opciones Relacionadas al Caché " # type: TP #. type: TP -#: davfs2.conf.5:380 +#: davfs2.conf.5:392 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:385 +#: davfs2.conf.5:397 msgid "" "Each mounted @PACKAGE@ file system has a directory to store backups of files " "that could not be stored back to the server. This sets the name of this " @@ -1015,20 +1036,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:387 +#: davfs2.conf.5:399 msgid "Default: lost+found" msgstr "Predeterminado: lost+found" # type: TP #. type: TP -#: davfs2.conf.5:388 +#: davfs2.conf.5:400 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:392 +#: davfs2.conf.5:404 msgid "" "The directory where B<@PROGRAM_NAME@> will store cached files. For every " "mount point a subdirectory will be created." @@ -1038,7 +1059,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:396 +#: davfs2.conf.5:408 msgid "" "In the systemwide configuration file this will set the system wide cache, " "used by root. In a users configuration file it will set the cache used by " @@ -1050,20 +1071,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:398 +#: davfs2.conf.5:410 msgid "Defaults: @SYS_CACHE_DIR@ and ~/.@PACKAGE@/cache" msgstr "Predeterminado: @SYS_CACHE_DIR@ y ~/.@PACKAGE@/cache" # type: TP #. type: TP -#: davfs2.conf.5:399 +#: davfs2.conf.5:411 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:404 +#: davfs2.conf.5:416 msgid "" "The amount of disk space in MiByte that may be used. B<@PROGRAM_NAME@> will " "always take enough space to cache open files, ignoring this value if " @@ -1075,20 +1096,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:406 +#: davfs2.conf.5:418 msgid "Default: 50" msgstr "Predeterminado: 50" # type: TP #. type: TP -#: davfs2.conf.5:407 +#: davfs2.conf.5:419 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:413 +#: davfs2.conf.5:425 msgid "" "B<@PROGRAM_NAME@> maintains a hash table with an entry for each known file " "or directory. This gives the number of entries in this table. For large file " @@ -1103,20 +1124,20 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:415 +#: davfs2.conf.5:427 msgid "Default: 1024" msgstr "Predeterminado: 1024" # type: TP #. type: TP -#: davfs2.conf.5:416 +#: davfs2.conf.5:428 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:421 +#: davfs2.conf.5:433 #, fuzzy msgid "" "After B<@PROGRAM_NAME@> has got information about files in a directory it " @@ -1130,14 +1151,14 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:424 +#: davfs2.conf.5:436 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:431 +#: davfs2.conf.5:443 msgid "" "When a file or directory is opened by an application, B<@PROGRAM_NAME@> will " "first check the server for a newer version. But some applications do open " @@ -1154,14 +1175,14 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:434 +#: davfs2.conf.5:446 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:441 +#: davfs2.conf.5:453 msgid "" "When a file that has been changed is closed, B<@PROGRAM_NAME@> will wait " "that many seconds before it will upload it to the server. This will avoid " @@ -1172,14 +1193,14 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:444 +#: davfs2.conf.5:456 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:451 +#: davfs2.conf.5:463 msgid "" "When a file is opened, B<@PROGRAM_NAME@> will have to check the server " "whether there is a newer version. Graphical User Interfaces tend to open " @@ -1196,14 +1217,14 @@ msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:454 +#: davfs2.conf.5:466 #, fuzzy, no-wrap #| msgid "B" msgid "B" msgstr "B" #. type: Plain text -#: davfs2.conf.5:462 +#: davfs2.conf.5:474 msgid "" "davfs2 holds information about files and directories in the working memory. " "It will stay there as long as the file system is mounted and the file is not " @@ -1213,7 +1234,7 @@ msgid "" msgstr "" #. type: Plain text -#: davfs2.conf.5:467 +#: davfs2.conf.5:479 msgid "" "B Most file attributes are only maintained locally because there " "is no corresponding WebDAV property. So if users change attributes (owner, " @@ -1223,21 +1244,21 @@ msgstr "" # type: SH #. type: SH -#: davfs2.conf.5:471 +#: davfs2.conf.5:483 #, fuzzy, no-wrap msgid "Debugging Options" msgstr "Opciones Generales" # type: TP #. type: TP -#: davfs2.conf.5:473 +#: davfs2.conf.5:485 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:481 +#: davfs2.conf.5:493 msgid "" "Send debug messages to the syslog daemon. The value tells what kind of " "information shall be logged. The messages are send with facility LOG_DAEMON " @@ -1249,7 +1270,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:485 +#: davfs2.conf.5:497 msgid "" "Unlike other options, this option is cumulative. If there are several debug " "entries with different values, all of them will be applied. Also debug " @@ -1259,7 +1280,7 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:488 +#: davfs2.conf.5:500 msgid "" "B Debug messages let the log-files grow quickly. Never use this " "option in normal operation of mount.davfs." @@ -1267,165 +1288,165 @@ msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:490 +#: davfs2.conf.5:502 msgid "Default: no debugging messages" msgstr "" # type: Plain text #. type: TP -#: davfs2.conf.5:491 +#: davfs2.conf.5:503 #, no-wrap msgid "B" msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:493 +#: davfs2.conf.5:505 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:496 +#: davfs2.conf.5:508 #, fuzzy msgid "Command line and configuration options." msgstr "B" # type: TP #. type: TP -#: davfs2.conf.5:496 +#: davfs2.conf.5:508 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:499 +#: davfs2.conf.5:511 msgid "Upcalls from the kernel file system." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:499 +#: davfs2.conf.5:511 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:502 +#: davfs2.conf.5:514 msgid "Cache operations like adding and removing nodes." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:502 +#: davfs2.conf.5:514 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:505 +#: davfs2.conf.5:517 msgid "HTTP headers." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:505 +#: davfs2.conf.5:517 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:508 +#: davfs2.conf.5:520 msgid "Parsing of the XML-body of WebDAV-requests." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:508 +#: davfs2.conf.5:520 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:511 +#: davfs2.conf.5:523 msgid "Negotiation of authentication." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:511 +#: davfs2.conf.5:523 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:514 +#: davfs2.conf.5:526 msgid "Information about locks." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:514 +#: davfs2.conf.5:526 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:517 +#: davfs2.conf.5:529 msgid "TLS/SSL related stuff like certificates." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:517 +#: davfs2.conf.5:529 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:520 +#: davfs2.conf.5:532 msgid "Complete body of HTTP-responses." msgstr "" # type: Plain text #. type: Plain text -#: davfs2.conf.5:523 +#: davfs2.conf.5:535 msgid "" "Also print confidential information, which is usually omitted or obscured." msgstr "" # type: TP #. type: TP -#: davfs2.conf.5:523 +#: davfs2.conf.5:535 #, no-wrap msgid "B" msgstr "B" # type: Plain text #. type: Plain text -#: davfs2.conf.5:526 +#: davfs2.conf.5:538 msgid "Includes config, kernel, cache and http." msgstr "" # type: SH #. type: SH -#: davfs2.conf.5:529 mount.davfs.8:547 umount.davfs.8:79 +#: davfs2.conf.5:541 mount.davfs.8:547 umount.davfs.8:79 #, no-wrap msgid "AUTHORS" msgstr "AUTORES" # type: Plain text #. type: Plain text -#: davfs2.conf.5:533 +#: davfs2.conf.5:545 msgid "" "This man page was written by by Werner Baumann Ewerner." "baumann@onlinehome.deE." @@ -1435,27 +1456,27 @@ msgstr "" # type: SH #. type: SH -#: davfs2.conf.5:535 mount.davfs.8:564 umount.davfs.8:84 +#: davfs2.conf.5:547 mount.davfs.8:564 umount.davfs.8:84 #, no-wrap msgid "DAVFS2 HOME" msgstr "DAVFS2 HOME" # type: TH #. type: Plain text -#: davfs2.conf.5:538 mount.davfs.8:567 umount.davfs.8:87 +#: davfs2.conf.5:550 mount.davfs.8:567 umount.davfs.8:87 msgid "@PACKAGE_BUGREPORT@" msgstr "@PACKAGE_BUGREPORT@" # type: SH #. type: SH -#: davfs2.conf.5:540 mount.davfs.8:569 umount.davfs.8:89 +#: davfs2.conf.5:552 mount.davfs.8:569 umount.davfs.8:89 #, no-wrap msgid "SEE ALSO" msgstr "VER TAMBIÉN" # type: Plain text #. type: Plain text -#: davfs2.conf.5:546 +#: davfs2.conf.5:558 msgid "" "B<@PROGRAM_NAME@>(8), B(8), B(8), B(8), " "B(5)" diff --git a/src/defaults.h b/src/defaults.h index a4ed40c..d24105e 100644 --- a/src/defaults.h +++ b/src/defaults.h @@ -202,6 +202,12 @@ /* Use "Content-Encoding: gzip" for GET requests. */ #define DAV_USE_COMPRESSION 1 +/* Only request a minimal set or properties (getcontentlength and + resourcetype). For read-only filesystems to speed up PROPFIND + requests. + May be overridden by system config file and user config file. */ +#define DAV_MIN_PROPSET 0 + /* Timeout in seconds used when libneon supports non blocking io A value of zero means use the TCP default May be overriden by system config file and user config file. */ diff --git a/src/mount_davfs.c b/src/mount_davfs.c index 530e7a5..4a3d327 100644 --- a/src/mount_davfs.c +++ b/src/mount_davfs.c @@ -1717,6 +1717,7 @@ new_args(void) args->precheck = DAV_PRECHECK; args->ignore_dav_header = DAV_IGNORE_DAV_HEADER; args->use_compression = DAV_USE_COMPRESSION; + args->min_propset = DAV_MIN_PROPSET; args->connect_timeout = DAV_CONNECT_TIMEOUT; args->read_timeout = DAV_READ_TIMEOUT; args->retry = DAV_RETRY; @@ -2206,6 +2207,8 @@ read_config(dav_args *args, const char * filename, int system) args->ignore_dav_header = arg_to_int(parmv[1], 10, parmv[0]); } else if (strcmp(parmv[0], "use_compression") == 0) { args->use_compression = arg_to_int(parmv[1], 10, parmv[0]); + } else if (strcmp(parmv[0], "min_propset") == 0) { + args->min_propset = arg_to_int(parmv[1], 10, parmv[0]); } else if (strcmp(parmv[0], "connect_timeout") == 0) { args->connect_timeout = arg_to_int(parmv[1], 10, parmv[0]); } else if (strcmp(parmv[0], "read_timeout") == 0) { diff --git a/src/mount_davfs.h b/src/mount_davfs.h index 3867264..668e9c2 100644 --- a/src/mount_davfs.h +++ b/src/mount_davfs.h @@ -93,6 +93,7 @@ typedef struct { int precheck; /* User config file, system config file */ int ignore_dav_header; /* User config file, system config file */ int use_compression; /* User config file, system config file */ + int min_propset; /* User config file, system config file */ time_t connect_timeout; /* User config file, system config file */ time_t read_timeout; /* User config file, system config file */ time_t retry; /* User config file, system config file */ diff --git a/src/webdav.c b/src/webdav.c index 5bf3524..51781dc 100644 --- a/src/webdav.c +++ b/src/webdav.c @@ -114,27 +114,38 @@ typedef struct { /* Properties to be retrieved from the server. This constants are used by dav_get_collection(). */ enum { - ETAG = 0, + TYPE = 0, LENGTH, - MODIFIED, - TYPE, - END + ETAG, + MODIFIED }; -static const ne_propname prop_names[] = { - [ETAG] = {"DAV:", "getetag"}, - [LENGTH] = {"DAV:", "getcontentlength"}, - [MODIFIED] = {"DAV:", "getlastmodified"}, +static const ne_propname full_prop_names[] = { [TYPE] = {"DAV:", "resourcetype"}, - [END] = {NULL, NULL} + [LENGTH] = {"DAV:", "getcontentlength"}, + [ETAG] = {"DAV:", "getetag"}, + [MODIFIED] = {"DAV:", "getlastmodified"}, + {NULL, NULL} }; -static const ne_propname anonymous_prop_names[] = { - [ETAG] = {NULL, "getetag"}, - [LENGTH] = {NULL, "getcontentlength"}, - [MODIFIED] = {NULL, "getlastmodified"}, +static const ne_propname full_anonymous_prop_names[] = { [TYPE] = {NULL, "resourcetype"}, - [END] = {NULL, NULL} + [LENGTH] = {NULL, "getcontentlength"}, + [ETAG] = {NULL, "getetag"}, + [MODIFIED] = {NULL, "getlastmodified"}, + {NULL, NULL} +}; + +static const ne_propname min_prop_names[] = { + [TYPE] = {"DAV:", "resourcetype"}, + [LENGTH] = {"DAV:", "getcontentlength"}, + {NULL, NULL} +}; + +static const ne_propname min_anonymous_prop_names[] = { + [TYPE] = {NULL, "resourcetype"}, + [LENGTH] = {NULL, "getcontentlength"}, + {NULL, NULL} }; /* Properties to be retrieved from the server. This constants @@ -199,6 +210,11 @@ static int ignore_dav_header; /* Use "Content-Encoding: gzip" for GET requests. */ static int use_compression; +/* Only request a minimal set of properties. */ +static int min_propset; +static const ne_propname *prop_names; +static const ne_propname *anonymous_prop_names; + /* Will be set to 1 when dav_init_connection() succeeded. */ static int initialized; @@ -431,6 +447,14 @@ dav_init_webdav(dav_args *args) precheck = args->precheck; ignore_dav_header = args->ignore_dav_header; use_compression = args->use_compression & ne_has_support(NE_FEATURE_ZLIB); + min_propset = args->min_propset; + if (min_propset) { + prop_names = min_prop_names; + anonymous_prop_names = min_anonymous_prop_names; + } else { + prop_names = full_prop_names; + anonymous_prop_names = full_anonymous_prop_names; + } } @@ -1713,10 +1737,6 @@ prop_result(void *userdata, const ne_uri *uri, const ne_prop_result_set *set) #endif } - data = ne_propset_value(set, &prop_names[ETAG]); - if (!data) - data = ne_propset_value(set, &anonymous_prop_names[ETAG]); - result->etag = normalize_etag(data); data = ne_propset_value(set, &prop_names[LENGTH]); if (!data) @@ -1728,15 +1748,22 @@ prop_result(void *userdata, const ne_uri *uri, const ne_prop_result_set *set) result->size = strtol(data, NULL, 10); #endif /* _FILE_OFFSET_BITS != 64 */ - data = ne_propset_value(set, &prop_names[MODIFIED]); - if (!data) - data = ne_propset_value(set, &anonymous_prop_names[MODIFIED]); - if (data) { - result->mtime = ne_httpdate_parse(data); - if (result->mtime == (time_t) -1) - result->mtime = ne_iso8601_parse(data); - if (result->mtime == (time_t) -1) - result->mtime = 0; + if (!min_propset) { + data = ne_propset_value(set, &prop_names[ETAG]); + if (!data) + data = ne_propset_value(set, &anonymous_prop_names[ETAG]); + result->etag = normalize_etag(data); + + data = ne_propset_value(set, &prop_names[MODIFIED]); + if (!data) + data = ne_propset_value(set, &anonymous_prop_names[MODIFIED]); + if (data) { + result->mtime = ne_httpdate_parse(data); + if (result->mtime == (time_t) -1) + result->mtime = ne_iso8601_parse(data); + if (result->mtime == (time_t) -1) + result->mtime = 0; + } } result->next = ctx->results;