There have been whispers about dropping floppy disk driver support in Linux, but on Monday, Andy Shevchenko posted some new patches to clean up supporting code for this pocketable magnetic storage medium from the (g)olden days of computing.
This update comes nearly three years after the last floppy update of any substance, according to Phoronix. Yes, it notes that this old code is effectively orphaned and/or unmaintained. However, floppy support persists in Linux, and maintenance like this consolidates previous separate patches, tidies up headers, and generally removes detritus from the kernel.
- floppy: Remove unused CROSS_64KB() macro from arch/ code
- floppy: Replace custom SZ_64K constant
- floppy: Sort headers alphabetically
Apparently, the macro code (the first point) hasn’t been used in years, so clearing it will reduce cruft in the kernel. Likewise, the removal of the custom SZ_64K constant neatens things up, reducing redundant redefinitions of constants that are already present in the Linux kernel, which turned 34 on Sunday. Lastly, the alphabetic cleanup should enhance code readability and future maintenance.
In summary, there are no functional changes to floppy disk code in Linux here. It is more of a cleanup, as noted by Shevchenko.
Why maintain floppy support?
On the wider topic of floppy support in Linux, we understand that while modern kernel developers might not use systems with such archaic hardware, it is still worth supporting in various niches.
Three such niches are quite obvious: for use by retro computing enthusiasts, applications in virtualization and emulation environments, and to maintain support for some valuable industrial and embedded systems that still use floppies for programs and data.
Follow Tom's Hardware on Google News to get our up-to-date news, analysis, and reviews in your feeds. Make sure to click the Follow button.