|
sup, yospos? today we will be looking at the fat filesystem. it’s called fat but it’s actually pretty skinny. file allocation table, or msdosfs, is an old tyme file system from back in the days when computers had no ram and floppies were a thing. there are many versions of fat. well, not really versions because there isn’t actually any kind of standard, just random poo poo that evolved over the years. fat12 - a 12-bit file system for tiny things like floppy disks and goon dicks. fat16 - for when you want to go big. like, 32 MB with native sector size. or supersize your clusters for your massive storage on that new 600 MB scsi disc you stole from work. fat32 - 2fat2furious. 32 bits of cluster addresses let you store so much data, your brain would melt. or get rid of the pesky internal fragmentation eating up valuable megabytes on your disk by going with small clusters. exfat - some new horseshit, whatever. some important things to know a sector is 512 bytes. yes, bytes. sectors used to be the native hard drive storage size minimum unit. a cluster is a bunch of sectors tied together. in powers of two. turns out sectors are small and dumb, you want at least 4kb chunks because your 386 cpu has 4k pages. a file allocation table is a linked list, where every entry maps to one cluster on disk. the value in the entry either points to the address of the next entry or some other magic value. it’s extremely simple. fun fact, fat32 files are limited to 4gb, not because of limitations if the allocation table, but because the directory entry has a 32 bit size field. which is dumb as hell. fat has short file names, or as we called them, file names. cool names like COMMAND.COM, IMG_0420.JPG, and COPYOF~1.DOC short names had 8 byte names and 3 byte extensions. you could put whatever you want in them, because fat doesn’t give a poo poo, but your os will probably hate you unless you stick to ascii. at some point Microsoft created a hack to add long file names to fat. they are just fake directory entries that contain more file name. LFNs are long and boring like “Copy of yospos quotes.bak.docx”, but it also had a short file name which was some mangled garbage form of this. more fun facts: fat can be case sensitive if you want it to be. but windows will barf on a disk written with file names that differ only by case. fat is cool. you could even say it’s phat. ask questions about fat or just go to Wikipedia
|
# ? Jul 9, 2019 15:56 |
|
|
# ? May 25, 2024 13:48 |
|
lose weight op
|
# ? Jul 9, 2019 16:03 |
|
cool things about fat: it’s extremely compact on disk, taking up very little overhead. it takes an extremely small amount of RAM to implement. it will be slow as hell, but if you want fast get more ram. there are internationalized short file names using code page hacks. it is a clusterfuck of bad decisions.
|
# ? Jul 9, 2019 16:07 |
|
I once used fat16 on an msp430. found some openfat implementation or something that would run with like 17 bytes of stack at most. slow as hell but it worked
|
# ? Jul 9, 2019 16:14 |
|
the Amiga filesystem could fit 880k on a DD floppy disk instead of 720k and supported long filenames natively instead of using lovely hacks
|
# ? Jul 9, 2019 16:18 |
|
Sure but how many murders are its creators responsible for?
|
# ? Jul 9, 2019 16:27 |
|
there used to be a richard simmons virus/trojan horse for DOS that would show a little ascii richard simmons and say "lets get rid of that FAT" then it nuked your file system. it was cool.
|
# ? Jul 9, 2019 16:53 |
|
fatty blunt fs
|
# ? Jul 9, 2019 17:09 |
|
I use FAT69 OP. suits my needs
|
# ? Jul 9, 2019 18:01 |
|
ah yes, FAT, the only part of MS-DOS that was actually used instead of worked around.
|
# ? Jul 9, 2019 18:10 |
|
all file systems are beautiful OP
|
# ? Jul 9, 2019 21:02 |
|
Zlodo posted:the Amiga filesystem could fit 880k on a DD floppy disk instead of 720k and supported long filenames natively instead of using lovely hacks this raises a question of how many raw bits are on a floppy. same with a cd like didn’t some cd movie file format use a different mode that had less error checking cos errors in a mpeg stream don’t matter much compared to just having more data overall on my amiga i had a driver which put 900 something kb on a floppy. how did it do this? less error checking I presume. maybe it asked the head nicely to get closer to the edge idk
|
# ? Jul 9, 2019 21:51 |
|
No love for FAT+?
|
# ? Jul 9, 2019 22:08 |
|
I formatted my media drive exfat so I can use it on my mac
|
# ? Jul 9, 2019 22:23 |
|
i formatted a bootable windows installation image as exfat once it didn't boot, which was the only thing i needed it to do i couldn't use fat32 because the windows .img file was more than 4gb
|
# ? Jul 9, 2019 22:38 |
|
CRIP EATIN BREAD posted:there used to be a richard simmons virus/trojan horse for DOS that would show a little ascii richard simmons and say "lets get rid of that FAT" then it nuked your file system. this owns
|
# ? Jul 10, 2019 01:03 |
|
where the gently caress is forums poster FAT32 SHAMER
|
# ? Jul 10, 2019 01:15 |
|
I remember upgrading my windows machine to fat32. got so much space back on my 1.6 gig hard drive by going down to smaller clusters, gently caress yeah it was amazing.
|
# ? Jul 10, 2019 03:34 |
|
FART32
|
# ? Jul 10, 2019 05:16 |
|
The Management posted:I remember upgrading my windows machine to fat32. got so much space back on my 1.6 gig hard drive by going down to smaller clusters, gently caress yeah it was amazing. enjoy your poo poo I/O
|
# ? Jul 10, 2019 05:40 |
|
it’s cool they named a file system afte you op
|
# ? Jul 10, 2019 06:12 |
|
to upgrade to ExFAT you just get liposuction
|
# ? Jul 10, 2019 06:29 |
|
klosterdev posted:enjoy your poo poo I/O my io is great, I defrag regularly. thanks for your concern.
|
# ? Jul 10, 2019 07:26 |
|
can FAT do TRIM
|
# ? Jul 10, 2019 07:44 |
|
TRIM you'[re rear end hairs
|
# ? Jul 10, 2019 08:08 |
|
echinopsis posted:this raises a question of how many raw bits are on a floppy. same with a cd iirc the standard low level track format had some metadata and maybe some crcs (i don't remember exactly) I just remember that game devs that wrote their own disk routines would often just write a big blob of data on each track instead the standard format was probably also a bit conservative and left more unused space at the end than necessary (to make sure that the end of a track didn't overwrite its beginning, considering that all floppy drives didn't have the exact same rotation speed), and the thing to put 900k on a disk was maybe leaving less unused space
|
# ? Jul 10, 2019 09:25 |
|
CRIP EATIN BREAD posted:there used to be a richard simmons virus/trojan horse for DOS that would show a little ascii richard simmons and say "lets get rid of that FAT" then it nuked your file system. drat that’s awesome. who could even be mad? viruses just don’t have that special touch anymore my friend doesn’t know anything about filesystems and was wondering if there was anyone of a particular obsessive persuasion who has it all documented somewhere
|
# ? Jul 10, 2019 09:45 |
|
Zlodo posted:iirc the standard low level track format had some metadata and maybe some crcs (i don't remember exactly) I just remember that game devs that wrote their own disk routines would often just write a big blob of data on each track instead hmm loved it how on the amiga the devs just took over the hardware immediately upon game launch
|
# ? Jul 10, 2019 10:04 |
|
Vomik posted:drat that’s awesome. who could even be mad? viruses just don’t have that special touch anymore here u go op https://lwn.net/Kernel/Index/#Filesystems
|
# ? Jul 10, 2019 12:44 |
|
echinopsis posted:can FAT do TRIM yes! it’s not really a part of the FS itself, it’s an implementation feature. however you will lose the ability to undelete a file if you trim the fat.
|
# ? Jul 10, 2019 16:32 |
|
I wanted to make a milk based pun but you made one that was actually relevant. congrats OP you get the reward
|
# ? Jul 10, 2019 17:52 |
|
My Apple™ Macintosh® Portable Computer can't write to NTFS so I formatted my flash drives to FAT32 so that I can move stuff from my Windows PC to my laptop.
|
# ? Jul 10, 2019 17:58 |
|
Sounds like a piece of poo poo format overall. NTFS is the gold standard for all formats, everywhere, forever.
|
# ? Jul 10, 2019 17:58 |
|
YFSPOS just use zfs™
|
# ? Jul 10, 2019 18:03 |
|
rear end posted:Sounds like a piece of poo poo format overall. NTFS is the gold standard for all formats, everywhere, forever. ntfs has short names too! C:\WINDOWS\PROGRA~1
|
# ? Jul 10, 2019 21:08 |
|
when is FAT64 being released?
|
# ? Jul 10, 2019 21:17 |
|
Raere posted:when is FAT64 being released? SA Xenforo is using a fat64 server. just waiting for the final tweaks.
|
# ? Jul 10, 2019 21:30 |
|
that’s a lot of obsession in one link
|
# ? Jul 10, 2019 21:31 |
|
The Management posted:ntfs has short names too! C:\WINDOWS\PROGRA~1 At first you were making a joke but I ended up trying it out and it actually loving works holy poo poo.
|
# ? Jul 10, 2019 21:52 |
|
|
# ? May 25, 2024 13:48 |
|
THICC platters
|
# ? Jul 11, 2019 11:27 |