[Eisfair_dev] sambaexpert: Überarbeitete neue Version 1.0.0

Thomas Bork tom at eisfair.org
So Jul 15 21:18:42 CEST 2018


Am 15.07.2018 um 16:21 schrieb Marcus Roeckrath:

> Copy and Paste Fehler:
> dos filetime resolution
>> Causes file times to be rounded to the next even second.

dos filetime resolution (S)

     Under the DOS and Windows FAT filesystem, the finest granularity on 
time resolution is two seconds. Setting this parameter for a share 
causes Samba to round the reported time down to the nearest two second 
boundary when a query call that requires one second resolution is made 
to smbd(8).

     This option is mainly used as a compatibility option for Visual C++ 
when used against Samba shares. If oplocks are enabled on a share, 
Visual C++ uses two different time reading calls to check if a file has 
changed since it was last read. One of these calls uses a one-second 
granularity, the other uses a two second granularity. As the two second 
call rounds any odd second down, then if the file has a timestamp of an 
odd number of seconds then the two timestamps will not match and Visual 
C++ will keep reporting the file has changed. Setting this option causes 
the two timestamps to match, and Visual C++ is happy.

     Default: dos filetime resolution = no


Ist die Frage, ob das überhaupt jemanden betrifft (Oplocks aktiviert und 
Visual C++ auf einer Samba-Freigabe im Einsatz) und ob das nicht 
kontraproduktiv ist, weil sich andere Anwendungen auf eine genauere 
Zeitauflösung verlassen. Ich hab das was von robocopy im Hinterkopf, das 
immer wieder alles und nicht nur geänderte Datein überträgt...

-- 
der tom
[eisfair-team]


Mehr Informationen über die Mailingliste Eisfair_dev