summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-02-18 19:25:27 +0100
committerLars-Dominik Braun <lars@6xq.net>2017-02-18 19:25:27 +0100
commit1cdc5af4afa7f77a5627475762825ed0ba59610d (patch)
tree350db2cc73814a1de20b95514cd1a0792a291e6b
parentfee0d870233317f77dca7ddf59e137f8ec38a524 (diff)
downloadeumel-tools-1cdc5af4afa7f77a5627475762825ed0ba59610d.zip
eumel-tools-1cdc5af4afa7f77a5627475762825ed0ba59610d.tar.gz
eumel-tools-1cdc5af4afa7f77a5627475762825ed0ba59610d.tar.bz2
linearize: 720k disks use 9 sectors per track as well
-rwxr-xr-xlinearizeDisk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/linearizeDisk.py b/linearizeDisk.py
index 7fb6495..7a54372 100755
--- a/linearizeDisk.py
+++ b/linearizeDisk.py
@@ -19,8 +19,8 @@ def linearBlocks (fd):
if size == 1228800:
# 1.2m
blocksPerChunk = 15
- elif size == 368640:
- # 360k
+ elif size in (368640, 737280):
+ # 360k or 720k
blocksPerChunk = 9
else:
logging.warning ('Cannot determine blocks per chunk from filesize')