Open tasket opened 5 months ago
See if Wyng can list and retrieve data on non-Linux systems.
After installing the py39-zstd and py39-pycryptodome packages in FreeBSD, then copying an existing Wyng archive from a Linux VM...
Trying simple wyng --dest=file:/path list:
wyng --dest=file:/path list
receive
lockf = open(lockpath, "w") fcntl.lockf(lockf, fcntl.LOCK_EX|fcntl.LOCK_NB)
stat -f -c '%a %S'
df -P
chattr
Also:
Trying wyng --dest=file:/path verify volname:
wyng --dest=file:/path verify volname
The following awk command exited with status 2:
awk
do_exec([[CP.awk, r'{sub("/manifest","",FILENAME); print $0, FILENAME > "' +cdir+r'/"FILENAME}', fname+"/manifest"]], cwd=vol.path)
Installing gawk and changing the command path fixed this.
gawk
BSD sed does not like the \s and \S sequences for space; works with the replacements ' ' and [^ ].
sed
\s
\S
[^ ]
With these two workarounds, verify operations succeeded.
verify
Trying simple wyng --dest=file:/path --save-to=test.img receive volname:
wyng --dest=file:/path --save-to=test.img receive volname
lvm
These issues are basically resolvable for verify. In addition to the recent commits, do:
Experiment
See if Wyng can list and retrieve data on non-Linux systems.
Test system
Observations
After installing the py39-zstd and py39-pycryptodome packages in FreeBSD, then copying an existing Wyng archive from a Linux VM...
Trying simple
wyng --dest=file:/path list
:receive
stat -f -c '%a %S'
fails with 'No such file or directory' –probably replace this withdf -P
chattr
command not foundAlso:
Trying
wyng --dest=file:/path verify volname
:The following
awk
command exited with status 2:Installing
gawk
and changing the command path fixed this.BSD
sed
does not like the\s
and\S
sequences for space; works with the replacements ' ' and[^ ]
.With these two workarounds,
verify
operations succeeded.Trying simple
wyng --dest=file:/path --save-to=test.img receive volname
:lvm
command not available