View Single Post
Old 05 July 2019, 03:19   #1
Fibble
Registered User
 
Join Date: Jul 2019
Location: San Diego / USA
Posts: 2
Creating blank HDFs in Ubuntu

Hi, not sure if this is the right forum but hoping someone here can help.
I am attempting to use amitools in order to create blank .hdf files.
When I try creating an HDF using this command taken straight from the amitools docs:
Code:
xdftool empty.hdf format Work size=10M ffs
the file is created, but isn't then writable.
When I try to open it in ADF Opus, I get an error stating
Code:
ReadRDSKblock : RDSK id not found
Running
Code:
xdfscan -v empty.hdf
gives this result:
Code:
                scan  empty.hdf
                NDOS  empty.hdf
@000000:ERROR:invalid boot block dos type
I am able to use ADF Opus to create blank HDFs without problems, but of course I can't use it in a bash script. Its output scans this way:
Code:
xdfscan -v new.hdf
                scan  new.hdf
                 ok   new.hdf
Any advice would be welcome.
Fibble is offline  
 
Page generated in 0.09073 seconds with 11 queries