dsktool
Initializing Disk Images

To create a new DSK image, use the ”-I” or ”—init” commands. You must specify the file system to be used. As of version 0.4.1, only DOS 3.3 and NADOL file systems can be created, and the Sector Ordering? will always be “physical”.

Example 1 – creating an uncompressed DOS 3.3 DSK:

jonno@ubuntu:~/disks$ dsktool.rb -I dos33 test.dsk
jonno@ubuntu:~/disks$ ls -l test.dsk
-rw-r--r-- 1 jonno jonno 143360 2007-12-30 20:51 test.dsk
jonno@ubuntu:~/disks$

Example 2 – creating a compressed DOS 3.3 DSK:

jonno@ubuntu:~/disks$ dsktool.rb --init dos33 test.dsk.gz
jonno@ubuntu:~/disks$ ls -l test.dsk.gz
-rw-r--r-- 1 jonno jonno 7290 2007-12-30 20:53 test.dsk.gz
jonno@ubuntu:~/disks$

Example 3 – creating an uncompressed NADOL DSK and cataloging it.

jonno@ubuntu:~/disks$ dsktool.rb -cI nadol nadoltest.po
nadoltest.po
sector order:   physical
filesystem:     nadol
 16128 NADOL
jonno@ubuntu:~/disks$


Next: Adding Files To Disk Images