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
-1
votes
1 answer

FAT16 File System

I'm building a file system that resembles FAT. It has the following setup: | MBR | FAT Area | Data Area | So if given the sector_size (the size of a sector in bytes), cluster_size(the size of the cluster in sectors), and disk_size (the size of…
user3398928
  • 53
  • 2
  • 7
-1
votes
1 answer

16 bit Assembly not printing character

I've got a basic bootloader that should read the root sectors from a FAT12 formatted Floppy into the memory. (that part works) but after implementing that it stopped writing characters to the screen. Last time it did this was because I forgot to POP…
Tim van Osch
  • 483
  • 4
  • 16
-2
votes
1 answer

Do I need FAT on both ends of a USB link?

I have a product consisting of two boxes, both running an RTOS (not picked yet, say FreeRTOS): Box A will have: an SD card and a FAT stack an "external" USB device port with MSD to allow PC access to the SD card "internal" USB device port to Box B…
ilnadi
  • 58
  • 8
-2
votes
1 answer

How to recover deleted file from FAT image?

I would like to know to recover deleted file from FAT. I created fat.img as below. cd /tmp dd if=/dev/zero of=fat.img bs=1024 count=100 mkfs.msdos fat.img mkdir -p /tmp/fs sudo mount -t msdos fat.img /tmp/fs -o umask=000,loop Now i am creating file…
Kasprian
  • 3
  • 3
-2
votes
2 answers

Embedded logging application program design suggestions

Can anybody suggest ideas on how to solve this design problem: I have an embedded system that generates events (off all sorts, lets just abstract events for the sake of this, they are a data structure that can be serialised). These events are…
Ashley Duncan
  • 825
  • 1
  • 8
  • 22
-2
votes
1 answer

Size of a file in the FAT system

I know that in recent file systems as EXT the i-node contains the actual size of the file. So if I want to know the size of a file I just need to read the meta-data. How is this done in the FAT system (since there aren't i-nodes)? Do the OS need to…
Daniel Oliveira
  • 1,280
  • 14
  • 36
-5
votes
4 answers

compare 2 char arrays in c

I've the following char arrays: filename[256] = "one.txt"; shortname[11] = "ONE TXT"; what is the best way to compare these two arrays in c? The first 8 characters of short name must fit to the characters before the . in filename. I my case…
simdlx
  • 1
  • 2
-7
votes
1 answer

About licence of fat free framwork

https://fatfreeframework.com/3.6/development#FairLicensing If the terms and conditions of this license are too restrictive for your use, alternative licensing is available for a very reasonable fee. what is the name of alternative licence? how much…
msaif
  • 504
  • 1
  • 7
  • 23
1 2 3
12
13