summaryrefslogtreecommitdiffstats
path: root/doc/testing.doc
diff options
context:
space:
mode:
authorcc4b05f61e2d8f77114750386c9f9a60 <cc4b05f61e2d8f7@7114750386c9f9a60>2023-05-11 14:38:47 +0000
committercc4b05f61e2d8f77114750386c9f9a60 <cc4b05f61e2d8f7@7114750386c9f9a60>2023-05-11 14:38:47 +0000
commitf5450bfd35a6410528d124f534c2b1a958cafe51 (patch)
treea808b12d6ad5343fabdec7b8918df6b4d844e03f /doc/testing.doc
parent5ad2bb7a6ac7e97c031908d2439808a00fff6214 (diff)
dmsdos-0.9.2.2 addeddmsdos-0.9.2.2
Diffstat (limited to 'doc/testing.doc')
-rw-r--r--doc/testing.doc68
1 files changed, 68 insertions, 0 deletions
diff --git a/doc/testing.doc b/doc/testing.doc
new file mode 100644
index 0000000..e8b342b
--- /dev/null
+++ b/doc/testing.doc
@@ -0,0 +1,68 @@
+
+Testing of read access with Dosemu
+==================================
+
+
+I describe the method I use for my drives, you may need to change some names.
+I have a DOS filesystem on /dev/hda1, I usually mount it on /DOS.
+This drive is seen as c: from DOS when starting.
+Stacvol file is c:stacvol.dsk. When config.sys is executed
+stacvol.dsk is swapped and becomes c: and old c: is d:.
+
+Prepare dmsdos package in /usr/local/src/dmsdos-x.y.z/src
+ rmmod dmsdos # for changes from next compilation
+ make clean
+ make
+ insmod dmsdos
+ cd /DOS
+ mount -r -t msdos -o loop stacvol.dsk /mnt # important: mount READ-ONLY!!!
+
+Now you should see the root of your DOS drive in /DOS directory and
+under /mnt the root of your stacker drive.
+In the syslog you can see the parameters of all mounted stacker drives.
+If you have dutil compiled, you can proceed the next test
+
+ dutil /mnt checkfs
+
+If there are errors you can see them in the syslog as DMSDOS: ...
+Now you can make the read test.
+Configure Dosemu for readonly access to the full hard drive or partition.
+
+ disk { partition "/dev/hda1" readonly } # must be first to boot from it
+ disk { image "/var/lib/dosemu/hdimage" } # or something similar
+ # you need this to have access to dosemu utilities
+
+You must include somewhere in config.sys line
+
+ device=<hdimage_drive>:\emufs.sys /
+
+Now run Dosemu by command
+
+ dos -C
+
+If it does not work try to find out if stacker can see its stackvols.
+There may be differences if you have some other organization of the drives
+under DOS.
+Now you can see or change redirections to the Linux filesystem
+
+ <hdimage_drive>:lredir
+
+For comparing you can use the dos utility cmpdisk.exe, which tries read all
+files from two drives. One should be the drive managed by regular
+dos stacker and the second by the Linux dmsdos driver.
+
+ cd <stac_drive>:\
+ cd <redirected_linux_drive>:\mnt
+ cmpdisk <stac_drive>: <redirected_linux_drive>:
+
+If some file is read differently from one drive, cmpdisk waits
+for a keystroke. Then it continues. Parameters of cmpdisk can
+be in form:
+
+ <drive_letter>:[\]<directory>\
+
+for example
+
+ E:\mnt\
+
+Any differences are suspected to be dmsdos bugs!