I just tried and it doesn't seem to work for me.
Wait....do I need an optical drive for this to work? I think I might have a plug in drive somewhere.....
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I just tried and it doesn't seem to work for me.
Wait....do I need an optical drive for this to work? I think I might have a plug in drive somewhere.....
tilts head
plugs in USB optical drive
eject
pop
hehe
push tray back in
eject
pop
hehehe
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.
Those are discs not disks kiddo
I was wondering about OP's soft-eject floppy drive. Seems quite retrofuturistic.
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.
I was wondering why they still sold servers with disk drives
For deploying your sick playlist to production, obviously!
No not mine, thermal performance always goes haywire 😔
I haven't worked in a data center in years, so I don't know the current norm for server hardware.
VPS providers hate this one trick
Modern problems require modern solution.
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!
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.
That is fantastic.
woa what the frick!! that actually scared me it's like 2001 space odyssey type of stuff
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 ✨
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...
Sorry, my what ? Are you talking about relics of the past ? ;D
I need to go put my DVD drive back in my tower to try this!
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
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.
You mean the cup holder?
The finger guillotine.
Bologna storage.
Ah, the good old days of sshing into a family member's computer and trolling them by constantly opening and closing the drive.
It it to wait 30 mins then do it every 10, and pop it in startup, those were the days.
The other was Free_Cupholder.EXE. I miss disk drives for this reason more than for actual use.
i envy you. lol
You can configure sudo, used to elevate the privileges of a command, to insult users when they type in an incorrect password.
To do so, edit the sudoers file with a tool called visudo, which edits and validates modifications to the sudo configuration file.
sudo visudo
Near the top, add a line that reads:
Defaults insults
Save and close the file.
I found out about this recently and I love it. I don't know why I like to be insulted, it makes me laugh.
Disk... drive?
what-year-is-it.jpeg
The year to backup (rip) your DVDs.
Oh boy I should've done it a long time ago.
lemme guess.. and inject
would close it again?
eject -t
There's also eject -T
which is a toggle.
don't use it if you're flying a plane, though!
They should make a usb-port with a spring in it which can be released with eject. Until then I have to be content with just making sound effects when I run eject on other devices.
If you have a LS-120, it will eject the floppy disc like you were on dome fancy-pants Macintosh!
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.
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
For the next storage revolution go with the opposite of your prediction maybe
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.
Almost 20 years ago I convinced my high school library to let me install Debian on one of the computer groups. I found the "eject" command, and wrote a script that just invoked it with an argument to close the tray. I named that script "inject". Being high schoolers, my friends and I made scripts to "eject" and "inject", along with various beeps, and named the scripts suggestive and tawdry things. We all had a good giggle setting the systems off on their little routines and walking away.