Questions tagged [fat]

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.

188 questions
108
votes
2 answers

What is the difference between VFAT and FAT32 file systems?

I have searched the internet, but could not find any convincing answers; Are the filesystems VFAT and FAT32 the same, or are there any differences between them?
user1004985
  • 2,573
  • 4
  • 19
  • 16
30
votes
3 answers

Filesystem links on a FAT32 formatted storage

I know FAT32, as well as FAT16/12 neither support symbolic links nor hard-links. However I came up with this idea: The FAT specification describes that every file is associated with a directory-entry. In my understanding, one could say that a…
fishbone
  • 3,140
  • 2
  • 37
  • 50
19
votes
1 answer

chown command returning Operation not permitted

I am working on a raspberry pi and am having a tough time giving permissions to an external hard drive that I have mounted using the following…
l00kitsjake
  • 955
  • 3
  • 11
  • 24
15
votes
2 answers

How can I use an SD card for logging 16-bit data at 48 ksamples/s?

Background My board incorporates an STM32 microcontroller with an SD/MMC card on SPI and samples analogue data at 48 ksamples/s. I am using the Keil Real-time Library RTX kernel, and ELM FatFs. I have a high priority task that captures analogue data…
Clifford
  • 88,407
  • 13
  • 85
  • 165
13
votes
2 answers

xcodebuild 7.3 can't enable bitcode

I'm developing an embbeded framework for iOS. In order to make an universal fat (with simulator and device slices), I created an aggregate target with a script that uses xcodebuild and lipo commands to generate it, as many people does. With XCode…
13
votes
3 answers

In Windows file systems, is there a pre-computed hash for each file?

I want to search a file duplicate by its hash. For performance purposes I want to know if there is a stored hash/checksum for each file in NTFS/FAT file systems. If there is, I don't have to compute them all to search my file. If there is, how to…
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
12
votes
1 answer

SD card write limit - data logging

I want track/register when my system (a Raspberry Pi) was shut down, usually due to abrupt power loss. I want to do it by recording a heartbeat every 10 minutes to an SD card - so every 10 mins it'd go to the SD and write the current time/date in a…
user3765743
  • 153
  • 1
  • 2
  • 6
8
votes
5 answers

c# - How can I extract a FAT Disk Image?

I am actually trying to extract a Fat Disk Image with DiskUtils but I am not getting the correct file names... I get "\TURNER~3\TOPPER~1.P~1" in place of "\TURNEROVER\TOPPERSHEATH.PPTX" FatFileSystem FatImg = new FatFileSystem(MS); //MS = Fat Image…
Writwick
  • 2,133
  • 6
  • 23
  • 54
7
votes
2 answers

How to detect end of directory in the data area of FAT32?

I am working with the disk file directly. since the size of a directory is 0 in the directory structure, I wonder how do I detect the end of a directory file on the disk. DIR_Name[0] == 0x00 The above way to detect end of directory doesn't seem…
Louis Kuang
  • 727
  • 1
  • 14
  • 30
6
votes
2 answers

Python shutil.copy fails on FAT file systems (Ubuntu)

Problem: Using shutil.copy() to copy a file to a FAT16 mounted filesystem in Linux fails (Python 2.7.x). The failure is shutil internal error and failing actually on shutil.chmod, which shutil.copy seems to execute. Shell chmod fails, too, as…
Hannu
  • 11,685
  • 4
  • 35
  • 51
5
votes
2 answers

How do I install express without an error?

I am trying to install express for a project, but when i run npm i express it shows this error: npm ERR! code EPERM npm ERR! syscall symlink npm ERR! path ../mime/cli.js npm ERR! dest…
Kevin C-M
  • 61
  • 1
5
votes
6 answers

OSX Snow Leopard: Build boost 1.47.0 for 32 and 64 bit

I am going crazy...I am currently trying to upgrade boost for my project from 1.44.0 to 1.47.0 on osx snow leopard.- I want to build it with the following command: ./b2 macosx-version=10.6 link=static address-model=32_64 threading=multi stage where…
moka
  • 4,353
  • 2
  • 37
  • 63
5
votes
2 answers

Why isn't my root directory being loaded? (FAT12)

I am writing a stage 1 bootloader in assembly with which I am attempting to load the FAT12 filesystem into memory so that I can load my stage 2 bootloader. I have managed to load the FATs into memory, however I am struggling to load the root…
WORD_559
  • 331
  • 1
  • 14
5
votes
1 answer

How to Calculate FAT

I am learning about FAT file system and how to calculate FAT size. Now, I have this question: Consider a disk size is 32 MB and the block size is 1 KB. Calculate the size of FAT16. Now, I know that to calculate it, we would multiply the number of…
Favn Hghksd
  • 321
  • 6
  • 14
4
votes
2 answers

How to share access to a FAT32 Filesystem

I am working on an embedded device that uses an SD-Card for storage and needs to allow a PC to access that SD-Card over USB. The best approach I could come up with is virtualizing the disk and presenting that virtualized picture to the PC. That…
NXT
  • 1,855
  • 2
  • 18
  • 36
1
2 3
12 13