summaryrefslogtreecommitdiff
path: root/Kernel/BlkDev
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-27 16:15:06 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-27 16:15:06 -0500
commit47b555b41e247f79a3f209fffbdb960184304fb7 (patch)
tree9b8cd013853abda1d6420ece871b3c85b595628b /Kernel/BlkDev
parentebd4342a8271a4aa6bccfde11e9a74b5041b64bb (diff)
downloadtempleos-floppy-driver-47b555b41e247f79a3f209fffbdb960184304fb7.tar.gz
Add patch to DskChg
This patch allows DskChg to run a file system check on floppy drives, allowing for file system autodetection.
Diffstat (limited to 'Kernel/BlkDev')
-rw-r--r--Kernel/BlkDev/Patches/DskChgFDC.HC6
1 files changed, 6 insertions, 0 deletions
diff --git a/Kernel/BlkDev/Patches/DskChgFDC.HC b/Kernel/BlkDev/Patches/DskChgFDC.HC
new file mode 100644
index 0000000..6059300
--- /dev/null
+++ b/Kernel/BlkDev/Patches/DskChgFDC.HC
@@ -0,0 +1,6 @@
+// PATCH: Allow DskChg to do file system checks on floppy disks
+// FILE: ::/Kernel/BlkDev/DskDrv.HC
+// TO INSTALL: #include this file before the call to DskCacheInvalidate().
+
+else if (bd->type==BDT_FLOPPY)
+ FDCFsChk(dv); \ No newline at end of file