Subscribe to Make Magazine Today!

We’ve covered some other innovate uses for a cdrom drive, but this one surely takes the cake! This would be a great way to teach young children about re-purposing obsolete technology. If you want to try it for yourself, here is the script (written for a Linux machine) that is used to keep opening and closing the door:

#!/bin/sh
while [ 1 = 1 ]
do
#eject cdrom
eject

#pull cdrom tray back in
eject -t
done

[via boingboing]


  • blubrick

    When I saw her hands in that position, I fully expected a QWERTY keyboard pattern to appear on her blankie.

  • Tsaavik

    #!/bin/sh
    while [ true ]; do
    #eject cdrom if closed, otherwise retract
    eject -T
    done

    • Wendel

      while true; do eject -T; done

  • TALR

    I love how this code is so tiny, but does so much, It’s almost like cute code lol! I chuckle every time I see it :’)

  • http://suvakov.wordpress.com suvakov

    Upgrade:

Related Supplies at Maker Shed