Author: Christian E. Hopps, Roc Vallès Domènech Uploader: polluks+aminet sdf lonestar org (Stefan Haubenthal) Type: disk/misc Version: 2.0.0 Architecture: m68k-amigaos >= 2.0.4 Date: 2022-10-01 Readme: http://aminet.net/disk/misc/device-streams.readme Downloads: 14
http://aminet.net/disk/misc/device-streams.lha
Amiga tool for copying between block devices and streams/files, similar to UNIX
`dd`.
Originally released by Christian E. Hopps in 1993, updated to be useful today.
Requires AmigaOS 2.04+.
Run the command with `-h` parameter to display usage information.
5.Ram Disk:> devstreams/rdbinfo Device: "scsi.device" Unit: 0 Capacity: 114473.4 Megs DiskVendor: FUJITSU DiskProduct MHV2120AH DiskRevision: 0000 Cylinders: 232581 Heads: 16 Blks-p-Trk: 63 [Blks-p-Cyl: 1008] Total Blocks: 234441648 Block Size 512 64bit --| Partition: "DH0" Capacity: 1023.7 Megs --| Start Block: 3024 End Block: 2099663 Total Blocks: 2096640 --| Block Size: 512 --| Partition: "DH1" Capacity: 10239.4 Megs --| Start Block: 2099664 End Block: 23070095 Total Blocks: 20970432 --| Block Size: 512 --| 64bit ###
5.Ram Disk:> devstreams/devtostream --output=DH1:dump.dd --rdb-name=DH0 --verbose found new device "scsi.device" found drive FUJITSU MHV2120AH 0000 [capacity:114473M] at unit 0 on device "scsi.device" | partition: "DH0" sb: 3024 eb: 2099663 totb: 2096640 | Block Size: 512 Capacity: 1023.7 | partition: "DH1" sb: 2099664 eb: 23070095 totb: 20970432 | Block Size: 512 Capacity: 10239.4 found partition: "DH0" capacity: 1023.7 Megs start block: 3024 end block: 2099663 total blocks: 2096640 block Size: 512 dumping: start block: 3024 to end block: 2099663 [size: 1048319K] write from partition "DH0" to file "DH1:dump.dd"? [Ny]:y writing: 0x00200950 -> 0x002009cf [100%]
The new build process uses GNU Make. Simply review the Makefile and run `make`.
Alternatively,
Development is done using the `bebbo/amiga-gcc` crossdev toolchain.
https://github.com/bebbo/amiga-gcc
PERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME ---------- ----------- ------- ------- ------ ---------- ------------ ---------- drwxr-xr-x 1000/1000 0 0 ****** -lhd- 0000 Sep 29 23:52 devstreams/ -rw-r--r-- 1000/1000 6993 17982 38.9% -lh5- dc3e Oct 16 1993 devstreams/COPYING -rw-r--r-- 1000/1000 1152 2297 50.2% -lh5- f918 Sep 29 22:52 devstreams/README.md -rwxr-xr-x 1000/1000 16254 27500 59.1% -lh5- 325d Sep 29 23:52 devstreams/devtostream -rwxr-xr-x 1000/1000 15138 25480 59.4% -lh5- b68d Sep 29 23:52 devstreams/rdbinfo -rwxr-xr-x 1000/1000 16445 27772 59.2% -lh5- 5094 Sep 29 23:52 devstreams/streamtodev -rwxr-xr-x 1000/1000 16345 27728 58.9% -lh5- 5f10 Sep 29 23:52 devstreams/xdevtostream -rwxr-xr-x 1000/1000 16536 27992 59.1% -lh5- d664 Sep 29 23:52 devstreams/xstreamtodev ---------- ----------- ------- ------- ------ ---------- ------------ ---------- Total 8 files 88863 156751 56.7% Oct 1 18:36
Aminet © 1992-2022 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>