Ask HN: Who's still keeping a DOS machine up because the business depends on it?
The Persistence of Legacy: Who is Still Relying on DOS for Business?
In a recent discussion on Hacker News, a provocative question was posed: Who is still maintaining a DOS-based machine because their entire business operation depends on it? While the world has moved toward cloud computing and containerization, a surprising number of industrial and commercial sectors are still tethered to 16-bit architecture.
The "If It Ain't Broke" Philosophy
For many, the decision to keep a DOS machine isn't about nostalgia—it's about risk management. In environments where a system failure could cost thousands of dollars per hour, the stability of a 30-year-old program outweighs the benefits of a modern UI.
"We have a CNC mill from 1992 that runs a proprietary version of DOS. The software is custom-coded for the hardware, the original vendor is bankrupt, and the source code is gone. If that PC dies, the machine becomes a very expensive paperweight."
Industries Still Using Legacy Systems
- Manufacturing: CNC machines, PLC controllers, and textile looms.
- Healthcare: Older MRI scanners and specialized lab equipment.
- Logistics: Ancient inventory systems in warehouses.
- Utilities: Power grid monitoring and water treatment controls.
The Technical Struggle: Hardware vs. Software
Maintaining these systems is a race against time. The primary enemy isn't the software—which is remarkably stable—but the physical hardware.
The Hardware Decay Cycle
- Capacitor Plague: Electrolytic capacitors leaking or bursting.
- Disk Failure: Mechanical failure of IDE hard drives.
- Interface Obsolescence: The disappearance of ISA or PCI slots.
To manage this, some admins use config.sys and autoexec.bat tweaks to squeeze every kilobyte of conventional memory out of the system.
@echo off
DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH,UMB
LH LOADHIGH C:\DOS\MOUSE.COM
SET PATH=C:\DOS;C:\TOOLS
Comparison: Legacy DOS vs. Modern OS
| Feature | MS-DOS / FreeDOS | Modern Windows/Linux |
|---|---|---|
| Boot Time | seconds | seconds |
| Memory Mgmt | Manual (EMS/XMS) | Automatic Virtual Memory |
| Stability | High (Single-tasking) | Variable (Complex dependencies) |
| Security | Security through obscurity | Constant patching/firewalls |
| Hardware | Specialized/Proprietary | Standardized/Commodity |
The Migration Dilemma
When a business realizes they can no longer find a working 486 motherboard on eBay, they face a critical decision. The cost of replacement is often modeled as:
Where represents the cost and is the probability of failure during the transition. For some, the math simply doesn't justify the upgrade. "Just buy a new machine" is a naive suggestion when the software is a "black box."
The Decision Flowchart
Strategies for Survival
Those who refuse to let their business die with a motherboard have adopted several survival tactics:
- Imaging: Using
ddor similar tools to create bit-perfect copies of hard drives. - CF Adapters: Replacing spinning disks with CompactFlash cards via IDE adapters.
- Virtualization: Running the software in an emulated environment to decouple it from the hardware.
Migration Checklist
- Audit all legacy dependencies.
- Create a full sector-by-sector disk image.
- Test the image in
DOSBox-XorPCem. - Source replacement capacitors for the motherboard.
- Document the
autoexec.batandconfig.syssettings.
Final Thoughts
The existence of these machines is a testament to the durability of simple software. While we chase the latest frameworks, there are millions of dollars of infrastructure running on code that doesn't even know what a "thread" is. It is a fragile equilibrium, but for some, it is the only way to keep the lights on.