Discuss Scratch

malyvb
Scratcher
16 posts

NEED Filesystem | Linux-Like | For "OS"

Hallo everyone!! I am making a linux like OS on scratch, and it has great features like echo with env var support, services, EXPERIMENTAL network support (via scratchattach) like ping or curl BUT.. the only thing im lacking is a filesystem which is CRUCIAL for os'es…
If someone would make/link a filesystem that has support for directories, making and removing files, renaming, listing all files in a directory etc..
i would be ETERNALLY greatful!!
I am too stoopid to make a filesystem unfortunately
So if you took a look at my request, thank you!
-Imaamsaalih-
Scratcher
66 posts

NEED Filesystem | Linux-Like | For "OS"

Hi! While I wish I could help you, I am also too stupid to make one. I have an idea of how it would work, though. You could make three lists, one containing the location of the file, another the file details (type, size, etc.), another the file contents (idk how this would work) and figure out how to link them together using clones for each file, again, I don't really know how this would work, but, I hope my answer was helpful!
malyvb
Scratcher
16 posts

NEED Filesystem | Linux-Like | For "OS"

-Imaamsaalih- wrote:

Hi! While I wish I could help you, I am also too stupid to make one. I have an idea of how it would work, though. You could make three lists, one containing the location of the file, another the file details (type, size, etc.), another the file contents (idk how this would work) and figure out how to link them together using clones for each file, again, I don't really know how this would work, but, I hope my answer was helpful!
seems like an interesting way to do it… not sure how directory listing would work this way though, any ideas?
-Imaamsaalih-
Scratcher
66 posts

NEED Filesystem | Linux-Like | For "OS"

Hmm.. if each item had an ID, like a unique one, then you could probably use the principles of griffpatch's savecode tutorial (seperating values) to decide that kind of stuff, but it's been a while since I've programmed so idk. What do you think?
Programmfuchs
Scratcher
79 posts

NEED Filesystem | Linux-Like | For "OS"

Just Google any Linux distros install it Konto a vm vhd and then extra T the Filesystem from the vhd. Boom there you have a complete Linux file System.
2016s4m29
Scratcher
1000+ posts

NEED Filesystem | Linux-Like | For "OS"

Programmfuchs wrote:

(#5)
Just Google any Linux distros install it Konto a vm vhd and then extra T the Filesystem from the vhd. Boom there you have a complete Linux file System.
He's talking about a linux-like filesystem for a scratch OS
malyvb
Scratcher
16 posts

NEED Filesystem | Linux-Like | For "OS"

2016s4m29 wrote:

Programmfuchs wrote:

(#5)
Just Google any Linux distros install it Konto a vm vhd and then extra T the Filesystem from the vhd. Boom there you have a complete Linux file System.
He's talking about a linux-like filesystem for a scratch OS
Yep was thinking about something more like a filesystem, not the structure for it but anyways i finally got it (kinda) working!!! if you wanna check it out its here!!!

Powered by DjangoBB