Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
nezd

OctoTapeFS

Recommended Posts

OctoTapeFS v0.1

Slowest way to store your files

Do you remember this days when your commodore loads software from tape? I don't, i weren't even born when commodore were popular.

Well, now you could bring this days back with OctoTapeFS - The slowest way to store your files!

Link to pastebin

Video Showcase

Possible arguments:

  • -h Displays help message
  • --save=path Save file from path to tape
  • -l Loads file from tape
  • --dump=path Save file from tape to path
  • -v Toggle verbosity
  • -f Disable waiting for user input in load

TODO:

  • Code compression(removing spaces)
  • Make it faster
  • Adding a file structure

 

Link to post
Share on other sites

Nice work, I think the largest tape drive can store a few MB so you can store quite alot with this, albeit very slowly.

Suggestions:

  1. "if var == true then" is the exact same as "if var then", just as "if var == false then" is the same as "if not var then"
  2. You may want to try mount this file to a /dev/tape_drive file. This would mean you could do let's say "cp /dev/tape_drive /home/myfile.txt" to read from tapedrive, or "cp /home/myfile.txt /dev/tape_drive" to write to tapedrive. Check out OpenOS' devfs.lua for info on making fake files.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.