1.) Why not FAT? It's not worse than the way ext2 handles the things.iansjack wrote:Personally, I'd never suggest that anyone use any form of FAT. But I respect the right of others to suggest it.
Greetings
Peter
1.) Why not FAT? It's not worse than the way ext2 handles the things.iansjack wrote:Personally, I'd never suggest that anyone use any form of FAT. But I respect the right of others to suggest it.
To my knowledge, the last remaining patent expires this year, and only concerns representing long and short file names in a single namespace.bzt wrote:By default it uses 8+3 naming scheme, which is inadequate these days, and the LFN extension is patented, and must be workarounded to avoid lawsuits. Ehhh.
Uh oh, let's hope this doesn't devolve into a flame war.Ethin wrote:Hate to drag this OT (sorta), but since we're talking about FSes, what would be a good FS to start with?
I'd say it's pretty well specified. The specification notes that you should avoid generating a filesystem with anywhere from 4068 to 4101 clusters, since that's the range where tools and firmware often get the type wrong.bzt wrote:Not well specified: to avoid overhead, you might want to increase the cluster size. But if the number of total clusters drops too low, some tools and firmware incorrectly assumes a different type (thinks it is a FAT12 when actually it is FAT16)
That's not true. If you need to increase the FAT size beyond the available reserved sectors, you only need to move files located within the area that will be occupied by the new larger FAT. For the other files, their cluster number changes so it's only necessary to generate new directory entries (and of course the new FAT).bzt wrote:You can't resize the partition easily. To increase the partition size, you have to increase the FAT table size, which means COPYING ALL the data on the partition.
Personally, I'd go for ZFS, but I've no idea how easy it is to implement. Apple's APFS is pretty good too. Both are miles ahead of NTFS IMO.nexos wrote:Personally, I think the only good filesystem in NTFS, but it is to undocumented
But a beginner might start with tar (it's really easy) or FAT or ext2, because they are simple.Korona wrote:Neither FAT nor ext2 are good file systems. ext2 might be slightly more flexible and perform better compared to FAT but it's also slightly more complex. However, both are outclassed by any modern FS. Hence, I would argue that the choice doesn't really matter. Pick any file system you like when you start and put support for a good file system (like ext4, Btrfs, ZFS, XFS, ...) onto your "things to do at some point" list.
Don't fall for the hype You can guarantee robustness and consistent file system in case of crash or power offs with soft update as well. Journaling is not the only way, and it is not the best solution either. Soft updates were used by FILES-11 for example. Designed by the same team as ntfs, but for an architecture which had way more resources than PCs. FILES-11 had all the features that modern fses are so proud of: ACLs, snapshots, quotas, extents, data checksums etc. etc. etc. Plus it also supported file versioning (per file snapshots if you like). I f*cking loved when I messed up my code I could copy SOURCE.C;-1 to get the version before the last save That was years before CVS, SVN or git was even invented (BTW, have you ever wondered where that ";1" file name part on ISO9660 come from?) And FILES-11 predates every other, btrfs, hammerfs, ntfs, ZFS etc. by a decade at least.PeterX wrote:And, yes, I, too, have heard that journaling filesystems are much more robust, for example if the system crashes or the power goes off, then less data is lost than with an old FS.