Re: netbsd-10, merging device-streams (xstreamtodev, rdbinfo)
Roc Vallès <[email protected]> Mon, 13 Mar 2023 06:03:40 +0100
| Newsgroups | gmane.os.netbsd.ports.amiga |
|---|---|
| Message-ID | <CAPq5wtafUC0NDpQK=+E_KhFVnLnD0K4xwyatYXf_-7RwS3ME6Q@mail.gmail.com> |
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=C3=A1n Figueredo <[email protected]> wrote: > > From: [email protected] <[email protected]> On Behalf= Of Roc Vall=C3=A8s > 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=C3=A1n Figueredo | HispaMSX System Operator | http://www.hispa= msx.org | telnet://bbs.hispamsx.org | https://calnus.com