Michael & all, From: Michael Schierl <schierlm@gmx.de> Date: Sun, 28 Dec 2025 19:25:01 +0100
On normal Linux (Debian), ...
Here Devuan daedalus based upon Debian 12.11.
cloned latest revision as of writing (ec4ce23120a0e392b1d3be17ef77d23bafae435c) from https://gitlab.inf.ethz.ch/felixf/oberon.git
# git show | head -n 1 commit ec4ce23120a0e392b1d3be17ef77d23bafae435c Same as you have. Incidentally, I haven't seen a name for the number. Commit number?
unzipped Linux64.zip and followed the steps in Builds.Tool to rebuild all modules (Note that you need the Linker command that includes "System StdIOShell Shell"
Oops. Haven't compiled. Still have the excutables from 2023. =8~/
- Installed easy-6.6.10-amd64.img into a new VirtualBox VM (by converting RAW->VDI and then enlarging the VDI to 2GB, and booting from it)
I run Easy 7.0.34 directly from a SD card in a USB adapter. Plug it to a USBsocket and power up.
- Tarred up the A2 tree and moved the tar file via SSH/SFTP to the new EasyOS VM.
Here A2 is in a directory on the machine where Devuan boots from HDD and Easy boots from USB.
The executables in A2 git were last rebuilt Wed Apr 19 07:29:47 2023.
Thanks. I should have looked. Eg. # ls -ld Linux64/bin/Q* -rw-rw-r-- 1 root root 8954 Apr 18 2023 Linux64/bin/QuoteServer.GofUu -rw-rw-r-- 1 root root 1043 Apr 18 2023 Linux64/bin/QuoteServer.SymUu
As I understand it, they get rebuilt before they would be unable to recompile the latest source, so that you only need one recompile step after initial checkout to have the latest version running.
Thanks. In the coming weekend I'll try compiling.
Something is different not in EasyOS but in your install.
Devuan and Easy both use the same A2 in a directory. Only one A2.
I assume you already checked permissions of the location you want to write to, and also that you have enough disk space and enough free inodes available (df -h, df -i commands).
Thanks. Will review. My tests are small. My sketchy thinking: Oberon.Files.Write puts one character at a time into a buffer in memory. After Base64 decoding is complete, Files.Register copies the buffer to persistent storage. (What if the Linux code invoked by Files.Write differs between Devuan and Easy?) Will try again after compiling. Thanks! ... P.L. -- mobile: +1 778 951 5147 VoIP: +1 778 508 0020 projects: en.wikibooks.org/wiki/User:PeterEasthope
Hello Peter, Am 28.12.2025 um 20:45 schrieb peter@easthope.ca:
# git show | head -n 1 commit ec4ce23120a0e392b1d3be17ef77d23bafae435c
Same as you have.
Incidentally, I haven't seen a name for the number. Commit number?
Commit hash. But you are right, it is rarely needed to name it. When you have something that looks like a commit hash in the context of git, it usually is a commit hash. (Tree hash or blob hash would also look like that, but you usually explicitly say it is a tree or blob hash when it is.)
Something is different not in EasyOS but in your install.
Devuan and Easy both use the same A2 in a directory. Only one A2.
In that case I'd double check mount options are same between Devuan and EasyOS (acl vs. noacl would be an obvious example that causes different behaviour) and double-check permissions. A file readable by user "peter" on Devuan does not have to be readable by user "peter" on EasyOS, as the user IDs can differ.
My sketchy thinking: Oberon.Files.Write puts one character at a time into a buffer in memory. After Base64 decoding is complete, Files.Register copies the buffer to persistent storage. (What if the Linux code invoked by Files.Write differs between Devuan and Easy?)
Oberon.Files.Mod calls into Files.Mod which again calls into Unix.UnixFiles.Mod. And that filesystem implementation's "New0" procedure creates a new tempfile named ".tmp.<sequence>.<pid>" in work directory using "openat" syscall. The "Register" call will then rename that file to the final file name (and usually will leave it in work directory). In case rename fails (e.g. due to EXDEV if destination file is in a different filesystem) it will instead copy and unlink. In any case, after having done so, it will re-open the file with its now-current name. On Devuan, you can verify this by running "strace -f ./oberon run a2.txt" and checking the output. As far as I know, EasyOS does not come with strace, so you cannot do it there. So, depending on cache behaviour of your Linux kernel, even before Files.Register, the file content may have been written to disk. It is just not usually visible since A2 cleans up its old temp files once they are no longer referenced, and ls -l (without -a) will not show them. And since there is no explicit "fsync" call, even after Files.Register it is not guaranteed that the file content has already hit your persistent storage (But it will eventually happen when the filesystem is synced or unmounted). Regards, Michael
participants (2)
-
Michael Schierl -
peter@easthope.ca