I’ve been using linux for more than a decade at this point, but in all that time I’ve rarely had a disk drive. The fact that this command exists and is just, one of the core utils included with your distro along with su and kill and mount and more is just… so beautiful. 10 years amore with this OS and I’m still learning things that the elders in the audience are snickering at me for only learning 5 minutes ago while they were popping their disk trays open with a single command back when disk drives were a non optional component.

  • @plum@lemmy.zip
    link
    fedilink
    English
    1224 months ago

    This command was very useful for quickly finding a server in a row of hundreds of identical servers. No need to read the labels or look up which rack it’s in. Just log in remotely, just use ‘eject’, and then walk down the row to the server that has its tray out.

  • Captain Aggravated
    link
    fedilink
    English
    334 months ago

    tilts head

    plugs in USB optical drive

    eject

    pop

    hehe

    push tray back in

    eject

    pop

    hehehe

  • Courant d'air 🍃
    link
    fedilink
    594 months ago

    Back in networking classes we used to have entire rooms of replicated machines, all with contiguous addresses and same logins. We wrote a script to ssh into every computer of the room and eject and retract all the disk drives at the same time, it was wonderful ✨

    • Tekhne
      link
      fedilink
      6
      edit-2
      4 months ago

      You could’ve made music out of ejecting/retracting those all at different times!

      Would’ve actually been fantastic distributed systems practice, synchronizing all of those to tight tolerances of music across a network connection…

  • @DeuxChevaux@lemmy.world
    link
    fedilink
    1574 months ago

    Very helpful command it was for those, whose modem had to be rebooted daily back in the day: Have a cron-job open the tray, which in turn was placed strategically so that it would hit the reset button of the modem, then close the tray. And voilà; automatic reboot of the modem. Robotics at its finest!

    • arthurpizza
      link
      fedilink
      English
      94 months ago

      In the early 2000s, only my rich friends had cell phones. My roommate and I both had accounts on each other’s machines so we could telnet into them on the same local network.

      We used to do this all the time to each other. It was funny to us 25 years ago. It’s still funny now.

  • data1701d (He/Him)
    link
    fedilink
    English
    24 months ago

    I have a Blu-ray drive, though my case doesn’t have 5.25” bays, so I just have the SATA cables come put the side.

    The sole reason I have it is because once a couple years back, I wanted to watch the Star Trek: TNG Spanish dub, which was only available in the US on a Bluray, which I promptly borrowed from my local library.

    I have used it a couple times after, though - once to burn a CD-R with TinyCore to boot on a Pentium II laptop, and once to backup a Bluray with a dub only available on that medium.

  • @communism@lemmy.ml
    link
    fedilink
    54 months ago

    I still have a disk drive but eject doesn’t seem to affect it since for some reason I don’t have a /dev/cdrom. I just checked with the physical eject button on the drive and it is at least still physically working—the tray ejects! I don’t have any optical media to test if the drive still works to read CDs though

    • @crater2150@feddit.org
      link
      fedilink
      34 months ago

      Try eject /dev/sr0, that should be your disk drive if it is attached via SATA or USB. /dev/cdrom is usually just a symlink.

      • @communism@lemmy.ml
        link
        fedilink
        1
        edit-2
        4 months ago

        Afraid I don’t have a /dev/sr0. Tbh I built this PC yonks ago, I don’t remember how I plugged in my optical drive. I assume SATA would be the sensible and most likely option.

        I’m on Artix Linux with runit if that matters at all?

        I mean, it doesn’t matter to me whether or not I can eject my optical drive with a command, but at this point I’m just curious as to where the drive is on the filesystem lol

        Edit: I tried loading sr_mod with modprobe sr_mod (which wasn’t loaded for me) but still not seeing any sr* or cdrom in /dev. Again, not too bothered about this, but I’m kinda curious.

  • @shirro@aussie.zone
    link
    fedilink
    English
    12
    edit-2
    4 months ago

    There is a whole world of obsolete stuff nobody will ever do with a linux system anymore. Terminal servers with lots of serial terminals or modems for a BBS. Making a fax server, IVR, digital answering machine for analog land lines. Using removable optical or magnetic media. Recording broadcast tv. SCSI, Firewire. It is interesting to imagine what from today will be obsolete in a few years.

    • Delilah (She/Her)OP
      link
      fedilink
      English
      14 months ago

      Magnetic media is still king of price to capacity (Hard drives) and I literally do still record broadcast television on one of my linux boxes

    • Quazatron
      link
      fedilink
      134 months ago

      I’ve never encountered another LS-120 user before. When it came out I assumed it would be the future, because 120 megabyte freaking laser assisted floppy, am I right? Turns out I was very much mistaken, and CD-R took over.

      I also made the same mistake regarding CF vs SD cards.

      • @markstos@lemmy.world
        link
        fedilink
        34 months ago

        120 MB? That’s more than a ZipDisk!

        I knew I attended a well-funded modern college because all the computers had been upgraded with ZipDrives.

        • Quazatron
          link
          fedilink
          24 months ago

          Yep, Zip drives only had 100MB, the disks were clunky and were prone to get the Click of Death (not that LS-120 disks were any better in that sense, of course).

      • @naeap@sopuli.xyz
        link
        fedilink
        34 months ago

        CF, or their follow-up CFast, are still in industrial PCs - at least in the Beckhoff IPCs my (ok, more like “my customers”) Automat is sporting

        Used as system storage and easy to swap for the customer in regards of backups, if something breaks

        • @HakFoo@lemmy.sdf.org
          link
          fedilink
          24 months ago

          I’m hoping for MacroSD. About the size of a 3.5" floppy so you won’t lose it easily.

          Seriously, it’s interesting that now that we have the tech to make a useful-capacity storage device the size of a credit card, we don’t. Not like those crappy giveaway flash drives printed with a card design, where they had a captive USB head and were 4x as thick as a card, but something with just contacts like a chip card, so you might need to use an external reader but it really preserves the wallet-size concept.

          I’d love to have a cheap 16GB card in my wallet with all my health records and a cryptographically signed copy of my will as a one-stop, no cloud required, emergency kit.