changeset 2860:8bd3a42345b2 lwtools-port

mkdskindex: Detect and tag CoCo SDC disk images
author Tormod Volden <debian.tormod@gmail.com>
date Mon, 15 Jul 2013 19:27:10 +0200
parents 3a3cbc11ea9d
children bd286ab169c7
files 3rdparty/utils/aaw/mkdskindex
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/utils/aaw/mkdskindex	Sat Jul 13 14:59:26 2013 +0200
+++ b/3rdparty/utils/aaw/mkdskindex	Mon Jul 15 19:27:10 2013 +0200
@@ -55,6 +55,11 @@
     $format = "DriveWire 3/4";
   }
 
+  if ($dsk =~ m/_cocosdc[\._]/)
+  {
+    $format = "CoCo SDC";
+  }
+
   $size = -s "$dirtoget/$dsk";
 
   $size = int($size / 1024) . "k";