From 42233f5c5876c1fde9ada8aaac0f1f568aacc4df Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 9 Apr 2003 15:53:41 +0000 Subject: Finish conversion of Filenames (This used to be commit 8e0f0dbbbcb3179f1a868c72720e4eaf530e0a79) --- docs/docbook/smbdotconf/filename/manglednames.xml | 71 +++++++++++++---------- 1 file changed, 40 insertions(+), 31 deletions(-) (limited to 'docs/docbook/smbdotconf/filename/manglednames.xml') diff --git a/docs/docbook/smbdotconf/filename/manglednames.xml b/docs/docbook/smbdotconf/filename/manglednames.xml index 41592b3159..4ec088d16f 100644 --- a/docs/docbook/smbdotconf/filename/manglednames.xml +++ b/docs/docbook/smbdotconf/filename/manglednames.xml @@ -1,21 +1,26 @@ - - mangled names (S) - This controls whether non-DOS names under UNIX - should be mapped to DOS-compatible names ("mangled") and made visible, - or whether non-DOS names should simply be ignored. + + + This controls whether non-DOS names under UNIX + should be mapped to DOS-compatible names ("mangled") and made visible, + or whether non-DOS names should simply be ignored. - See the section on - NAME MANGLING for details on how to control the mangling process. + See the section on NAME MANGLING for + details on how to control the mangling process. - If mangling is used then the mangling algorithm is as follows: + If mangling is used then the mangling algorithm is as follows: - - The first (up to) five alphanumeric characters + + + The first (up to) five alphanumeric characters before the rightmost dot of the filename are preserved, forced to upper case, and appear as the first (up to) five characters - of the mangled name. + of the mangled name. + - A tilde "~" is appended to the first part of the mangled + + A tilde "~" is appended to the first part of the mangled name, followed by a two-character unique sequence, based on the original root name (i.e., the original filename minus its final extension). The final extension is included in the hash calculation @@ -24,35 +29,39 @@ Note that the character to use may be specified using the mangling char - option, if you don't like '~'. + option, if you don't like '~'. + - The first three alphanumeric characters of the final + + The first three alphanumeric characters of the final extension are preserved, forced to upper case and appear as the extension of the mangled name. The final extension is defined as that part of the original filename after the rightmost dot. If there are no dots in the filename, the mangled name will have no extension (except - in the case of "hidden files" - see below). + in the case of "hidden files" - see below). + - Files whose UNIX name begins with a dot will be + + Files whose UNIX name begins with a dot will be presented as DOS hidden files. The mangled name will be created as for other filenames, but with the leading dot removed and "___" as its extension regardless of actual original extension (that's three - underscores). - + underscores). + + - The two-digit hash value consists of upper case - alphanumeric characters. + The two-digit hash value consists of upper case alphanumeric characters. - This algorithm can cause name collisions only if files - in a directory share the same first five alphanumeric characters. - The probability of such a clash is 1/1300. + This algorithm can cause name collisions only if files + in a directory share the same first five alphanumeric characters. + The probability of such a clash is 1/1300. - The name mangling (if enabled) allows a file to be - copied between UNIX directories from Windows/DOS while retaining - the long UNIX filename. UNIX files can be renamed to a new extension - from Windows/DOS and will retain the same basename. Mangled names - do not change between sessions. + The name mangling (if enabled) allows a file to be + copied between UNIX directories from Windows/DOS while retaining + the long UNIX filename. UNIX files can be renamed to a new extension + from Windows/DOS and will retain the same basename. Mangled names + do not change between sessions. - Default: mangled names = yes - - + Default: mangled names = yes + + -- cgit