yup. The only issue is, potentially it makes modifications to the HD which some KNOPPIX may not like(forensic use?). After all, it is just a few lines of script. May be just includes it into the system and whoever wants to enable it can just run it.
It would be really useful (to mewho also uses W9
to have Knoppix always find the WIN386.SWP file and use it as a swap file, have it listed in fstab like '/mnt/hda#/win386.swp none swap 0 0', do a chmod 0600 on it and a mkswap -c and have it mounted - of course it would require mounting /dev/hda#..? This is what I have in a script, and works well, W98 doesn't seem to have any problems. It might also work with the pagefile.sys on W2K/XP... It saves needing a seperate swapspace for people with cramped (notebook) harddisks..! Looks like a very small adaptation of the swapfinding part.
yup. The only issue is, potentially it makes modifications to the HD which some KNOPPIX may not like(forensic use?). After all, it is just a few lines of script. May be just includes it into the system and whoever wants to enable it can just run it.
Eeew, do you know that when you hibernate Windows it writes the memory out to the swapfile. So I think some people might not like that feature. That's also why on sites where they take the trouble to explain a shared Win9x/WinNT/Linux swap partition/file they say you shoud be prepared for weird errors.
over the holidays, I had to use my in-laws computer( had windows-whocares on it ) and what I did was setup Knoppix and saved the config, then edited the knoppix.sh file to mount the swp file during boot time. Granted, I had to start Knoppix with the config=scan boot command but that was easier than executing those commands( in knoppix.sh ) every time I booted.
This might work for you. And if leaving those files on the HD isn't going to work, put them on a small USB drive and plug that in when you boot Knoppix. That should work too.

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00
Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots
$745.00
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections
$63.00