99

NTFS, fat32, exfat, could I theoretically create my own filesystem? If so would my computer even be able to work with most files or connect to other devices?

top 50 comments
sorted by: hot top controversial new old
[-] Xatolos@reddthat.com 1 points 41 minutes ago

Everyone answered the first part, so as for connecting to other devices, that's a part of communication protocols which doesn't concern about what file system you use.

Bluetooth will work with others as long as you have Bluetooth connection protocols, Internet uses TCP/IP, LANs use Ethernet, etc...

[-] dai@lemmy.world 5 points 2 hours ago* (last edited 2 hours ago)

Yeah take a look at TempleOS and it's filesystem RedSea.

TempleOS is a rabbit hole in of itself, RIP Terry.

https://en.m.wikipedia.org/wiki/TempleOS

[-] said@lemmy.sdf.org 3 points 2 hours ago

Yes you can but be careful to not turn into a murderer on the way.

[-] rdri@lemmy.world 6 points 12 hours ago

While you are at it, might concentrate on defects of certain fs you don't like. Personally I hate the NTFS path length limit. XFS handles it much better overall but individual file names are much more limited because nobody thought about Unicode.

Also you could probably fork some fs like XFS.

[-] dustyData@lemmy.world 7 points 13 hours ago
[-] daggermoon@lemmy.world 3 points 2 hours ago

I prefer to save a .jxl to a bird

[-] ayyy@sh.itjust.works 6 points 15 hours ago

Yea, I made a shitty one in my undergrad Operating Systems class.

[-] daggermoon@lemmy.world 1 points 2 hours ago

Is it foss and can I use it on a floppy disk?

[-] stoly@lemmy.world 8 points 21 hours ago

People have and do, but the effort is ridiculous and requires some very high-level computer science or computer engineering skills.

[-] aurelian@lemmy.ml 10 points 22 hours ago

Yes you can, for example here is how to use internet pings as a file system:

yarrick/pingfs: Stores your data in ICMP ping packets https://share.google/ydjcBAcA6koD0PuRt

[-] eneff@discuss.tchncs.de 1 points 1 hour ago

I would really appreciate it if you could provide a different link.

[-] StarvingMartist@sh.itjust.works 47 points 1 day ago

This is why I love Lemmy, I can ask this obscure, unrealistic question, and people will still answer it with the "yeah you probably shouldn't but here's how you could"

[-] JumpyWombat@lemmy.ml 25 points 1 day ago

Building a filesystem essentially means linking a directory of filenames to physical blocks and handling CRUD operations. It's not that hard. The hard part comes when you go beyond the basics to build something efficient with useful features. For example, fast access, journaling and fragmentation are all challenging topics. You can try without messing with the kernel by creating an in-memory filesystem (essentially a block of RAM) and playing with the I/O.

[-] Spost 98 points 1 day ago

You can! All of those filesystems you mentioned were created by people, and you can do it just the same way. It is, however, quite a lot of work to get something as good as any of those, let alone better. You've also hit on one of the problems - nothing else is going to support your filesystem.

If you're interested in trying anyway, just out of curiosity, do a little research into FUSE, Filesystem in Userspace. FUSE is a tool that lets you write a filesystem without needing to integrate with the very low-level parts of the operating system, which takes some burden off of your implementation.

[-] Semi_Hemi_Demigod@lemmy.world 36 points 1 day ago

Google fails me but my favorite application for FUSE was storing files in headers of ICMP packets using network latency for persistence.

[-] e0qdk@reddthat.com 14 points 1 day ago

I wonder if anyone has ever passed messages between spacecraft as a peculiar form of delay line memory -- or pinged a satellite at a predictable distance as part of a timing system...

[-] Semi_Hemi_Demigod@lemmy.world 14 points 1 day ago

No but I look forward to this in the next Andy Weir novel

[-] splendoruranium@infosec.pub 3 points 1 day ago

or pinged a satellite at a predictable distance as part of a timing system…

Isn't that just GPS in reverse? I mean, same equation, different dependent variable 😁

load more comments (2 replies)
[-] SpaceNoodle@lemmy.world 8 points 1 day ago* (last edited 1 day ago)

I love modern art

[-] Treczoks@lemmy.world 19 points 1 day ago

That's how those filesystems came into existence: someone designed them.

Yes, you can write your own filesystem, and use it on your own drives.

Yes, you will continue to be able to use other filesystems, unless you intentionally remove them from the system.

[-] Brkdncr@lemmy.world 23 points 1 day ago

Look up reiserfs.

You can do anything if you put your mind to it.

[-] cyberpunk007@lemmy.ca 28 points 1 day ago

Like murder your estranged wife and watch support for your FS collapse, right?

[-] Brkdncr@lemmy.world 34 points 1 day ago

Did I stutter?

[-] zxqwas@lemmy.world 11 points 1 day ago

Yeah you could. Noone else ~~could~~ would bother to use your usb/hdd/ssd with your file system unless you gave them the drivers.

[-] cypherpunks@lemmy.ml 25 points 1 day ago* (last edited 1 day ago)

NTFS, fat32, exfat, could I theoretically create my own filesystem?

Yes. There are many different file systems and you can absolutely create your own. Making one that is reliable and performs well, and/or is something you can actually use for the disk that you boot from, generally involves low-level kernel programming and years of work - and is not exactly a beginner's programming project.

However, you can also more easily play with implementing filesystems in a high-level language using FUSE.

If so would my computer even be able to work with most files or connect to other devices?

Your computer can use many different filesystems at the same time. You can also store a filesystem in a file on another filesystem, rather than dedicating a partition of a physical disk to it. So, yes, you can use a filesystem of your own design at the same time you are using other storage devices formatted with more common filesystems.

[-] litchralee@sh.itjust.works 19 points 1 day ago* (last edited 1 day ago)

Lots of good answers, especially using FUSE for experimentation. One thing I'll add is that if you just didn't want to use any filesystem at all .... you don't have to!

At least in the Unix realm, a disk drive is just a bunch of contiguous blocks, and you can put whatever you want in them. Of course, Unix itself famously needs a filesystem for itself, but if you want to just store all your giant binary blobs -- cryptocurrency block chain? -- directly onto a drive without the pesky overhead or conveniences of a filesystem, that's doable.

It's not generally a useful idea to treat a disk drive as though it's a tape drive, but it does work. And going further into that analogy, you can use "tar" to collect multiple files and fit them onto the drive, since a tarball preserves file metadata and the borders between files, but not much else. This is the original use of tar -- "tape archive" -- for storing Unix files onto tape, because the thought of using tape as working storage with a filesystem was -- and still is -- a terrible idea. And that's basically the original impetus for a filesystem: it's better than linear access media.

[-] Darohan@lemmy.zip 18 points 1 day ago

Yes, but it would probably be a multi-decade, career-defining project if you want it to be any good. It would likely work with all files since it's all just data once you get to the FS level anyway, but other devices would need an appropriate driver (that you would also need to write) in order to use it.

Note that I'm not an expert in this field, so others should correct me if I've got something wrong here.

[-] jonne@infosec.pub 10 points 1 day ago

Also, once you finish your filesystem, don't murder your wife or otherwise people will stop using it.

[-] Bane_Killgrind@lemmy.dbzer0.com 1 points 17 hours ago

Actually there are technical reasons for it being removed from the kernel, reiserfs does not account for the year 2038 problem

[-] StarvingMartist@sh.itjust.works 5 points 1 day ago* (last edited 1 day ago)

Oh don't worry, knowing me, I would create it, use it for a single drive and never touch it again. Its the fun of creation that counts. Also, I quite like my wife.

[-] TranquilTurbulence@lemmy.zip 1 points 21 hours ago

Doesn’t have to be world changing or even practical. A project like that would still teach you a ton about storage hardware, how file systems work, programming, mathematics etc. Some of these lessons could even be useful, but above all, a project like this should be fun and interesting.

Why do you think people install Linux and run Doom on all the weirdest hardware they can find. This is the spirit that drives innovation.

Don’t let expectations hold you back. Make your own FS, and have fun.

[-] StarvingMartist@sh.itjust.works 2 points 20 hours ago

I do think it would be fun, I would also love to just have a bit of tech that is "all my own" in a way

[-] TranquilTurbulence@lemmy.zip 1 points 19 hours ago

Besides, having your own FS is pretty bad ass in the same way as running Linux From Scratch.

[-] black_flag@lemmy.dbzer0.com 13 points 1 day ago

If you just want to do it for the fuck of it look at how old simple filesystems like FAT12 work and implement them in whatever high-level programming language you're most comfortable, maybe with FUSE as others have suggested since there are beginner-level tutorials for that.

[-] FuglyDuck@lemmy.world 8 points 1 day ago

I mean, short answer is… yes…

But, eh, like. That’s a technicality. Chances are the task is something beyond typical individuals these days.

[-] TranquilTurbulence@lemmy.zip 8 points 1 day ago* (last edited 23 hours ago)

But we’re on Lemmy, and that comes with a huge selection bias. In fact, you don’t really find that many typical individuals here. A significant part of the population here uses Linux as a hobby, or does something technical for a living. Possibly both!

I really don’t think it’s that far fetched to imagine that it’s possible to find someone in here who has the time, energy, enthusiasm, patience knowledge and intelligence to build a new file system. I’m pretty sure you can also find more than one person capable of writing their own drivers or libraries.

load more comments (12 replies)
[-] brucethemoose@lemmy.world 12 points 1 day ago* (last edited 1 day ago)

FYI you might be interested in WinBTRFS:

https://github.com/maharmstone/btrfs

Which is basically what you are describing: shoehorning support for a new file system into Windows.

Linux in particular has all sorts of exotic and special purpose filesystem, like swap on spare GPU VRAM, software managed SSD stacks and such.

load more comments (1 replies)
[-] Agent641@lemmy.world 5 points 1 day ago

A guy on YouTube literally made a physical floppy disk from scratch so I dont see why not.

Someone make the Lolcats programming language for a laugh.

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 12 Aug 2025
99 points (100.0% liked)

No Stupid Questions

42844 readers
1060 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 2 years ago
MODERATORS