stevefosdick / acornfsutils Goto Github PK
View Code? Open in Web Editor NEWSmall command-line utilities for manipulating Acorn 8-bit filing systems ADFS and DFS
Small command-line utilities for manipulating Acorn 8-bit filing systems ADFS and DFS
afschk silently ignores a non-existant image file
This has tripped me up a few times.
Full seems to be 47 entries.
Here's a stack trace:
(gdb) bt
#0 __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:127
#1 0x000055e634cee828 in dir_makeslot (parent=0x7fff7f2d6290, ent=0x55e6361e766b "") at acorn-adfs.c:482
#2 0x000055e634cee94b in adfs_save (fs=0x55e63617c260, obj=0x7fff7f2d6150, dest=0x7fff7f2d6290) at acorn-adfs.c:504
#3 0x000055e634ceb752 in save_file (obj=0x7fff7f2d6150, ctx=0x7fff7f2d6260) at afscp.c:195
#4 0x000055e634cebb72 in copy_loop (argc=1, argv=0x7fff7f2d6570, ctx=0x7fff7f2d6260) at afscp.c:262
#5 0x000055e634cebcf7 in acorn_dest (argc=49, argv=0x7fff7f2d63f8, fsname=0x7fff7f2d82b1 "AcornFileStore.dat", dest=0x55e634cf054f "$")
at afscp.c:293
#6 0x000055e634cec094 in main (argc=49, argv=0x7fff7f2d63f8) at afscp.c:358
My use case is building a ARM Eval Co Pro hard disk image from the six original floppy disks.
Some of the ARM disks contain sub-directories, for example:
$ afstree disc4.adl
--RW----- 00000000 00000000 15 000007 !boot
D-RW----- 00000000 00000000 1,280 000340 image
--RW----- 00001000 00001000 29,832 000345 image.editor
--RW----- 00001000 00001000 55,800 0003BA image.lspass
--RW----- 00001000 00001000 4,624 000494 image.lspavl
--RW----- 00001000 00001000 53,380 0004A7 image.lspcomp
--RW----- 00001000 00001000 4,660 000578 image.lspdiss
--RW----- 00001000 00001000 8,852 00058B image.lspfns
--RW----- 00001000 00001000 7,356 0005AE image.lspfns1
--RW----- 00001000 00001000 6,484 0005CB image.lspgraf
--RW----- 00001000 00001000 21,340 0005E5 image.lspread
--RW----- 00001000 00001000 7,040 000639 image.lsprint
--RW----- 00001000 00001000 105,720 000655 image.lsproot
--RW----- 00001000 00001000 210,368 000008 lisp
--RW----- 00000000 00000000 449 00033E README
As far as I can tell, there is no way to handle this at present with AcornFsUtils, because there is no way to create a new directory on an ADFS destination.
Do you have any thought on this?
I'm happy to do some of the implementation...
I was thinking you would need to:
Even just (1) alone would be useful. I could then at least manually create the required directory structure.
Dave
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.