Checks date

Yeah, I want to make use of an IDE floppy drive, which will need to use a SATA adaptor to hook up to the server. I’ll probably be using a Debian-based container, and I’ll need to automatically read the contents of the disk in some way.

I’m kinda assuming this is actually viable, and that I can work along the basic process of using an off-the-shelf IDE-SATA adapter, give it a mount point in the system, then monitor that directory.

I’m still fairly new to Linux, so I’m not aware of all the quirks and astrices that often come up, especially when wanting to do something like this in 2023.

For the curious, I’m building a centralised music system that will serve multiple speakers, including RF. I’ll be managing the music and play lists via whichever modern music server seems the most appropriate, but I thought it would be really neat to use floppy disks as a physical way of selecting playlist, but not exclusively.

All the disks would contain are small ID tokens that represent the playlist on the digital system. The software will monitor the drive, and when a new token is identified, it will simply trigger the playlist to start, presumably via an API call.

Completely pointless, but I like tactile shit and the nostalgia factor!

26 points

Floppy drives don’t use IDE, they use their own type of connector ( called a floppy connector), I’ve never seen a Sata to floppy adaptor, but you can connect a usb to floppy adapter to an internal usb header

permalink
report
reply
15 points

Yes USB is the way to go, cheap and effective: https://www.aliexpress.com/item/1005002747925791.html

Also the native Linux driver for floppy drives is on its way out: https://itsfoss.com/end-of-floppy-disk-in-linux/ note that USB solutions will still work.

+1 for the internal usb header tip.

permalink
report
parent
reply
11 points

I have an ide floppy, ls120 which reads 720k and upwards. No issues under Linux

permalink
report
parent
reply
4 points

SuperDisk™? 😏

permalink
report
parent
reply
8 points

It’s derived from the old shugart interfaces IIRC. But yes not IDE. I’m sure a converter is possible but USB makes more sense these days, or if you must an FDD controller card (assuming no motherboard support).

permalink
report
parent
reply
12 points
*

Wow, floppies.

I would suggest looking for a 3.5" unit rather than 5.25", the small floppies are sturdier.

Even so a floppy can get corrupted at any time so personally I wouldn’t bother with a filesystem and mounting it, I’d just write a bunch of numbers in various places on the disk and attempt to read with dd from several spots.

If you want to go with a filesystem and mount, please be aware that floppy units don’t send a signal when you load a floppy, like CD units do. You just have to try and see if there’s anything in there.

You can use automount to mount a floppy when you access a directory but it’s more trouble then it’s worth imo.

Oh and it also takes a while for the drive to probe and access the floppy (can take 5-10 seconds).

If you want my opinion, I’d do anything except actually having to bother reading floppies. 🙂 I would look into an USB smartcard reader and use smartcards instead.

If that’s not cool enough and you really want to use floppies, I’d conceal an USB NFC reader inside the PC and stick NFC tags to the floppies and load them inside the unit purely for the cool factor, without actually hooking up the floppy drive. Not sure if they’ll be easily readable from inside the drive but I’d try, like I said I’d do anything. 😄

permalink
report
reply
3 points

using nfc reader and tagged ‘disks’ is an interesting idea.

permalink
report
parent
reply
12 points

Do yourself a favor and just use a USB floppy drive 👍

permalink
report
reply
3 points
*

From one perspective, it should work; from another I never thought about how SATA/IDE adapters exactly work in this regard. Would any old one work, or most, or (almost) none at all?

Just to add this idea, I’ve used internal floppy drives with USB connection in the past, to attach in systems that don’t have an old style floppy connector.

P.S.: Love the idea! I’m also a great fan of haptic/physical interfaces.

permalink
report
reply
1 point

You should be able to get it to automount with autofs and unmount when it hasn’t been read for a certain amount of time. I would suggest mounting the disks read only so they don’t get corrupted it they are removed without unmounting them though.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments