Page 1 of 1
What FS should I use?
Posted: Fri Dec 30, 2022 10:23 am
by Cyao
Hi all!
Now it is the time that I choose a file system, I've looked into FSes for a little while and I've got these candidates:
- Ext2 (or 4)
- HFS+
- ZFS
- Maybe APFS? (Heard that apple don't copyright their stuff)
What do yall think about the file systems I choosed? or is there some better fs?
Re: What FS should I use?
Posted: Fri Dec 30, 2022 10:41 am
by iansjack
Unless you are very experienced with implementing file systems (in which case why would you pose this question?), I’d stick with something simple.
Ext2.
Re: What FS should I use?
Posted: Fri Dec 30, 2022 12:03 pm
by BenLunt
I will second iansjack's suggestion. Unless you are quite fluent in file systems, I would stick with the simple ones.
SFS is a very simple file system, though it is designed to be a "write once" style file system. You write files to a transferable media with the intent of transfer only.
LeanFS is a simple file system to implement, though contains quite a few of the things "bigger" file systems have, like extents and POSIX.
I would recommend
FAT12/6/32 for sure, since it is a widely used file system.
Ben
Re: What FS should I use?
Posted: Fri Dec 30, 2022 1:32 pm
by Cyao
iansjack wrote:Unless you are very experienced with implementing file systems (in which case why would you pose this question?), I’d stick with something simple.
Ext2.
Mhm ok ill stick with ext2, do you know some utilities on macos that can make a ext2 fs? Couldn't find anything on the internet.
BenLunt wrote:I would recommend FAT12/6/32 for sure, since it is a widely used file system.
Nah I'm going to overthrow Microsoft one day, so I'm not using their stuff
Re: What FS should I use?
Posted: Fri Dec 30, 2022 2:17 pm
by BigBuda
I like JFS a lot. Quite stable, low CPU usage.
Re: What FS should I use?
Posted: Fri Dec 30, 2022 2:29 pm
by iansjack
Cyao wrote:iansjack wrote:do you know some utilities on macos that can make a ext2 fs?
mkfs.ext2 on Linux.
Re: What FS should I use?
Posted: Fri Dec 30, 2022 2:35 pm
by BigBuda
iansjack wrote:mkfs.ext2 on Linux.
He specifically asked in Mac OS...
Re: What FS should I use?
Posted: Fri Dec 30, 2022 3:07 pm
by iansjack
BigBuda wrote:iansjack wrote:mkfs.ext2 on Linux.
He specifically asked in Mac OS...
Where?
Not in this thread. He mentioned Apple file systems, but he also mentioned Linux and Solaris ones.
Re: What FS should I use?
Posted: Fri Dec 30, 2022 3:18 pm
by BigBuda
iansjack wrote:Not in this thread. He mentioned Apple file systems, but he also mentioned Linux and Solaris ones.
Cyao wrote:do you know some utilities on macos that can make a ext2 fs?
Read carefully the above quote... that you quoted yourself.
It's in his second message in this thread.
Re: What FS should I use?
Posted: Fri Dec 30, 2022 3:55 pm
by iansjack
Ah, I misread that as “or macros”.
In that case, install Linux in a VM. It’s much better for OS programming anyway.
There are utilities available on Mac OS via brew, and a commercial offering from Paragon - easily found via Google.
Re: What FS should I use?
Posted: Sat Dec 31, 2022 9:57 am
by Cyao
iansjack wrote:There are utilities available on Mac OS via brew, and a commercial offering from Paragon - easily found via Google.
Ahh yes just found out there is this "e2fsprogs" that supplies mkfs.ext2 with it, thanks!
Re: What FS should I use?
Posted: Sat Dec 31, 2022 10:06 am
by iansjack