Hi Carlos,
Yes, this updates xstreamtodev. This "device-streams" name comes from
what the uuencoded source code tarball in netbsd's CVS is called. Its
makefile builds: streamtodev, devtostream, xstreamtodev, xstreamtodev
and rdbinfo.
My changes make it so that it builds with the most common AmigaOS
crossdev toolchain today (it used SAS/C back in the day). I also
cleaned it up and changed everything necessary for large disk support
when available (TD64 and NSD) and otherwise to be safe against 4GB+
access.
This work is in the github I linked, including the full history of the
changes I made. The license is of course kept to what the original
author had.
A developer with commit access would have to uuencode and update the
rdbinfo and xstreamtodev binaries. Using mine outright (github release
binaries or aminet, they are the same) is an option.
As the version we currently have in the netbsd CVS repo will happily
clobber your data if asked to write past the 4GB mark, it would be
particularly nice for this to be included in the netbsd-10 release.
Regards,
Roc
On Sun, 12 Mar 2023 at 21:03, Carlos Milán Figueredo
<cmilanf%hispamsx.org@localhost> wrote:
>
> From: port-amiga-owner%NetBSD.org@localhost <port-amiga-owner%NetBSD.org@localhost> On Behalf Of Roc Vallès
> Sent: jueves, 9 de marzo de 2023 06:05
>
> > A while back, I updated device-streams, motivated by awareness it
> > clobbered data if writes were done above 32bit offsets, which is very
> > easy to do as the program targets partitions, they can exist above 4GB
> > boundary and large disks are common today.
>
> Sorry for not being able to answer your question, but I had another one: would this tool replace xstreamtodev?
>
> Regards,
> Carlos
>
> Carlos Milán Figueredo | HispaMSX System Operator | http://www.hispamsx.org | telnet://bbs.hispamsx.org | https://calnus.com