<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>I will add some points here because they may not be obvious.</p>
<p>Most unix file systems do not keep track of file creation time (there is a good description in the man pages at https://man.archlinux.org/man/inode.7.en), so the time stamps for files in Cuis is not really what you might expect when you are running on a Linux system. Also, on Windows the time stamps associated with files follow a different model. I think that the Windows model is more closely aligned with what we have in Cuis, possibly because the first VMs for Squeak were written by Andreas Raab for Windows.</p>
<p>Most of the time this does not matter very much, but it does mean that writing a portable implementation for moving files within file systems is not nearly as simple as it sounds.</p>
<p>If you need a quick solution to the problem, then using OSProcess to run /usr/bin/mv on Linux is a reasonable thing to do. But it does require having OSProcess and SqueakCompatibility installed in your image, so I don't know if that would be good for DrGeo.</p>
<p>Dave</p>
<div id="signature"></div>
<p><br /></p>
<p id="reply-intro">On 2026-09-15 12:28, Juan Vuletich via Cuis-dev wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<p>Right. I guess a new primitive in FilePlugin would be needed to preserve it. As an alternative, it may be possible to ask OSProcess to run a copy OS command.</p>
<p>HTH,</p>
<div class="v1moz-cite-prefix">On 2026-09-13 5:32 AM, Hilaire Fernandes via Cuis-dev wrote:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p><span style="font-size: large;">Hi, </span></p>
<p><span style="font-size: large;">I am observing the #copy:to: message does not preserve the creation and modification times of the copied file.</span></p>
<p><span style="font-size: large;">If you do the same operation from your host filing system, these attributes are preserved.</span></p>
<p><span style="font-size: large;">When examining the code of the copy:to: method, Cuis really loads and saves the data from one file to the destination.</span></p>
<p><span style="font-size: large;">Hilaire</span></p>
<p><span style="font-size: large;"> </span></p>
<pre class="v1moz-signature">--
<a class="v1moz-txt-link-freetext" href="http://mamot.fr/@drgeo" target="_blank" rel="noopener noreferrer">http://mamot.fr/@drgeo</a></pre>
<br /><fieldset class="v1moz-mime-attachment-header"></fieldset></blockquote>
<pre class="v1moz-signature">--
Juan Vuletich
<a class="v1moz-txt-link-abbreviated" href="http://www.cuis.st" target="_blank" rel="noopener noreferrer">www.cuis.st</a>
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich</pre>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</blockquote>
</body></html>