Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Mark Tyson

Orphaned Linux drivers for floppy disks gets first patch of any significance in three years - cleanup effort implies floppies spared the axe for a few more years

Floppy disk photo.

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.

Shevchenko neatly bullet points the changes, which come under the heading of ‘[PATCH v2 0/3] floppy: A couple of cleanups,’ in the Linux kernel development mailing list. The developer notes that “There are a few places in architecture code for the floppy driver that may be cleaned up.”

Drilling down to specifics, the patch combines previous separate floppy patches into a series, with added tags, and a typo fixed. Furthermore, Shevchenko checks off his cleaning up of the following:

  • 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.

(Image credit: Future)

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.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.