FAT short for File Allocation Table is the name of a computer file system architecture and a family of industry standard file systems utilizing it.
Questions tagged [fat]
188 questions
0
votes
1 answer
where to find the data structures to access NTFS/FAT with c++ programming?
I am starting out in NTFS/FAT file systems programming in c++. Such as parsing MFT journal file etc.
I have come through some very good material online such as ntfs.com and understood the theoretical concepts.
But when it comes to access NTFS/FAT…

Noddy
- 33
- 1
- 1
- 9
0
votes
0 answers
U-boot: SPL - undefined reference 'file_fat_write'
I am trying to write a file to SD card in spl_mmc.c. During compilation
gcc moans: undefined reference 'file_fat_write'. I don't understand why.
Directly after the (original) code in mmc_load_image_fat():
err = file_fat_read(payloadname,
…

user1192748
- 945
- 3
- 15
- 26
0
votes
0 answers
How to detect if a partition is FAT or NTFS or something else?
I am developing a low level program that will read a partition and I need to know if the files are under a FAT or NTFS or some other kind of file system type so I can load the appropriate library for dealing with the files.
This is an embedded…

Michel Feinstein
- 13,416
- 16
- 91
- 173
0
votes
1 answer
Why stat64() in linux becomes slower as the number of files in a directory increases?
I run stat64() for 1000 files in a folder and took less than 1s but when there were 5000 in the same directory, the time increased to 15s.
Why stat64 () is getting slow non -linearly ? I was expecting the time to be 5s
EDIT
I am reading data from a…

Naveen
- 7,944
- 12
- 78
- 165
0
votes
0 answers
how I can Get FAT table from usb device using C in Linux
How I can obtain the FAT table from USB devices using C?, I was googling I have seen that it is possible to get different sectors searching blocks in /dev/ but I would need the whole FAT table

AlbertSec
- 91
- 1
- 8
0
votes
1 answer
Unique file ID in FAT32
Development environment: mobile app in Android
I'm looking for a way to uniquely identify files in a FAT32/VFAT file system (which has no inodes).
I thought about hashing (SHA1?) the full path. The problem with this solution is that it doesn't…

HyBRiD
- 688
- 4
- 23
0
votes
0 answers
fatfs: after f_stat the directory is created
The Fatfs is R0.08b. What I do is detecting whether a dir is existed. I use f_stat to check the status.
The problem is: if I clear the /root directory and then call :
sprintf(p, "%s", "0:/testdir");
frs = f_stat(p, NULL);
the frs will return…

scorpiozj
- 2,687
- 5
- 34
- 60
0
votes
2 answers
Fat ASP.NET MVC Controllers
I have been reading about "Fat Controllers" but most of the articles out there focus on pulling the service/repository layer logic out of the controller. However, I have run into a different situation and am wondering if anyone has any ideas for…

Mosh
- 5,944
- 4
- 39
- 44
0
votes
2 answers
IO slow on Android?
This should show the internal and external memory speeds, but unfortunately it says it's 0.02 or 0.04 MB/s? Is this an enormous inefficiency in Android, or coding error?
findViewById(R.id.buttonStorageSpeed).setOnClickListener(new OnClickListener()…

NoBugs
- 9,310
- 13
- 80
- 146
0
votes
1 answer
Verifying T-FAT on WinCE 5.0
We were having serious problems with corrupt files on our flash based FAT filesystem on WinCE 5.0. We believed that the files got corrupted because the WinCE device was turned off while writing to the FAT. Thus, we changed to T-FAT (transactional…

theDmi
- 17,546
- 6
- 71
- 138
0
votes
1 answer
FAT12 - reading first cluster number of file from root directory
In the root directory of FAT12, bytes 26-27 represent the number of the first cluster of the file. However, cluster numbers in FAT12 are 12 bits long. So what part of that 2 byte entry in the root directory contains the actual 12 bit cluster number…

Cygnus
- 3,222
- 9
- 35
- 65
0
votes
1 answer
FAT deleted files recovery capability
I was working on kinda exploration of File Allocation Table recovery last couple of weeks. My purpose is to locate a possibly deleted file by its signature (for example, ZIP file by "50 4B 03 04" bytes) and recover the whole thing to search inside…

Roman Nazarenko
- 608
- 4
- 11
0
votes
2 answers
SuperFloppyFormatter returning FAT32 for anything over 512 MB?
I am using the de.waldheinz.fs libraries in relation to the Android jobb tool, and I came across something that seems rather bizarre. In the file de.waldheinz.fs.fat.SuperFloppyFormatter.java:304 I find this:
public static FatType…

monkey0506
- 2,489
- 1
- 21
- 27
0
votes
1 answer
Access a sector from USB flash memory in linux
I am studying the FAT32 manual, now i want to write a program to browse the device. How to read a specific sector of the device, i do not want to load the entire device as a file into memory, please suggest some system call's to get started.

51k
- 1,381
- 3
- 12
- 22
0
votes
1 answer
Attempting to create a FAT file system in C++?
I'm attempting to create a FAT file system I understand the basic principle of how its supposed to set up and I'm using a struct like this for each FAT entry
struct FATEntry
{
char name[20]; /* Name of file */
uint32_t pos; /*…

user2134127
- 135
- 1
- 2
- 9