From: Stefan Metzmacher Date: Mon, 28 Jun 2021 09:54:29 +0000 (+0200) Subject: docs-xml:vfs_preopen.8: improve the documentation of the current detection algorithm X-Git-Tag: tevent-0.11.0~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67159410175a9ceccc7beda01601b9dc6656be04;p=thirdparty%2Fsamba.git docs-xml:vfs_preopen.8: improve the documentation of the current detection algorithm We should be more verbose that the first digits in a name are taken by default, if at least 3 digits were found. There might be cases were the last group of digits describe the increasing frame number, while the fixed name already contains 3 digits. This is currently not supported. It's also possible to provide more than one pattern. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/docs-xml/manpages/vfs_preopen.8.xml b/docs-xml/manpages/vfs_preopen.8.xml index f9f3d60a02a..3c799b62190 100644 --- a/docs-xml/manpages/vfs_preopen.8.xml +++ b/docs-xml/manpages/vfs_preopen.8.xml @@ -49,14 +49,16 @@ - preopen:names = /pattern/ + preopen:names = /pattern1/pattern2/ - preopen:names specifies the file name pattern which should + preopen:names specifies the file name pattern(s) which should trigger the preopen helpers to do their work. We assume that the files are numbered incrementally. So if your file names are numbered FRAME00000.frm FRAME00001.frm and so on you would - list them as preopen:names=/FRAME*.frm/ + list them as preopen:names=/FRAME*.frm/. + The current algorithm uses the first (at least 3) digits it finds + in order to calculate the name of the next frames.