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

Search the Community

Showing results for tags 'filesystem'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Fediverse ID



Found 13 results

  1. I just finished the first version of bundle - a rc application which virtually merges multiple filesystems into a bigger one. You can use it whenever a RAID full of tier 3 HDD isn't enough for your needs. On the picture above, for example, you can see 10 RAIDs with 30 tier 3 HDDs which yield a virtual HDD that can store over 200MB of data. You can also use filesystems of different size and create files bigger than any of the used filesystems since bundle is capable of storing a file on multiple HDDs. If you encounter any bug, please report it on my github repository. Also check out the wi
  2. So, I have been trying to find somebody who's implemented a filesystem for the unmanaged drives. I know what you must be thinking, just use the managed drive then, I'm legit doing what a managed drive does. However, for a few projects, I've wanted or needed an unmanaged filesystem. One example, is an expanded raid with minimal overhead. The simplest sort of raid, just glue all the drives together in one long linear addressable space. That parts easy, just check what section the pointer is on, and forward the operations to the proper disk. The issue is, they require that they be unmanaged, othe
  3. I want to make an application that creates a file named "config.txt" and read/write to it but i am hanging on creating the file. Can't find how to create the file. My Project: Github_Project_Line85 I want to save the IP that the user writes in and after rebooting it should stay. (Line 85) I want to make a check system with the config.txt and then load the variable into it. It's using the GUI API from MineOS
  4. Hello i am trying to download a file use it and delete it again to make space on the hard drive for the next file but i does not delete the file somehow: local c = require("component") local computer = require("computer") local internet = require("internet") local fs = require("filesystem") local p = c.printer3d args = {...} link = "https://raw.githubusercontent.com/LordNocturnus/sf-" folder = "/master/" imax = 0 local TIMEOUT = 4 -- in seconds for i = 0, imax do local url = link .. i .. folder .. "list.txt" local status, connection = pcall(interne
  5. I am attempting to write an OS from scratch and I have come up with a couple questions that somebody can hopefully clarify for me as I cannot continue without the following knowledge. 1).Since a critical function like require is unavailable, can someone point me to general steps needed to write a custom require function. 2).What would be needed to implement a custom filesystem without any libraries from openos. Any help is greatly appreciated
  6. DistFS I needed a larger storage capability in one computer to store long-term data captured on a multiplayer server. Since I didn't want to just cheat and make it "outside" of the world, I decided that what I needed was an infinitely-expandable (although admittedly not scalable) storage medium. RAIDs seemed like a perfect approach, but I didn't want to deal with trying to manage a ton of files. My solution was to build a spanned file system that could manage my files for me across multiple RAIDs, synchronize folder structures, and induct new arrays into the spanned volume automaticall
  7. hallo here i am again... i know dum question again! 1. what to use filesystem.open or io.open i know that it is the same but what is the best one 2. and how to pick a new line weren in write mode (what i mean is that how can i like write a thing on line 1 and then on line number 10 or 2 or whatever like in terminal like term.setCursor can i do that in io.open two in write mode) what i wil say is how to write new line or how to do newline i also need to point out that i know there is i seek function but 1 i don't no how to use it and 2 as i can understan
  8. Using this program, you can host an array filesystem over a network. Set up is as simple as installing an autorun.lua script on the computer or server that hosts the ServerFS filesystem, and installing a boot script on the clients that will access the ServerFS filesystem. How it works: The "Host", the computer or server hosting the ServerFS fileserver, runs an autorun script which will allocate all non-primary filesystem components to a single virtual "ServerFS" component. It then receives messages over the network and when a message is received relating to the ServerFS the Ho
  9. Hello guys, my question is... can I "mount" the file system of my in-game pc to an ftp server or to a cloud? Or can I say that every time when i save changes to a file in the filesystem it saves this changes to the "real" filesystem? Well... then I can mount this real Folder an edit it in VS But then it must load into the game... but how can i do that? When these realy not works... can i clone and push Git repositorys in OC or in the OpenOS? And when that, how? Thanks, yout Panakotta00 P.S. yes I know that i can write something like that with the internetcard... but I will
  10. So i'm working on a super simple logs library to make outputting errors/messages to a log alot simpler in a different program i'm working on. The issue is that i am completely unable to find a way to create a new file inside of code! I remember in computercraft it was simply trying to open a file that didn't exist yet, would create a new one. but for some reason, it's not doing it in this instance. my code is roughly: local fname = "output.txt" local file, err = io.open(fs.concat(shell.getWorkingDirectory(),"/logs/",fname),w)--i've tried both w and a at this poin
  11. Hello folks!, i've been browsing, searching for hours now, tried and tested, done whatever i could do, i have been trying to find/make my code read from another file, that it also eventually should save to, but havent gotten that far yet ^^, the reason i want to do it with another file, is because, the server i play on crash, or if the area aint loaded, the computer needs to be rebooted, and i would like to be able to add new Todo's as i go. I must admit, this is a stupid and hard wall, and its properly VERY simple, once i get it :b, none the less, heres the code im at. --[[
  12. I fixed up the computronics tape program to work with OC, but now I'm getting an error I cant figure out. /lib/filesystem.lua:483: attempt to index local 'self' (a nil value) Any help???
  13. When i try to save files with the Filesystem and the Filestream from Filesystem.open i get following error: /lib/filesystem.lua:467: attempt to index local 'self' (a nil value) stack traceback: kernel:730: in function '__index' /lib/filesystem.lua:467: in function 'close' stdin:1: in main chunk [C]: in function 'xpcall' kernel: 725: in function 'xpcall' /bin/lua.lua:62: in main chunk (...tail calls...) I typed this in lua console: fs = filesystem.open("/mnt/da0/adsfk","w") --da0 is HDD fs.wr
  • Create New...

Important Information

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