fat32

Best file system to transfer 5+GB files between OS X and Windows on removable media

I need to transfer DVD image files between a Windows XP computer and a Mac running Leopard. The machines are not connected via a fast network, and I have a few USB drives floating around that I want to use, e.g. 8GB flash, 60GB and 250GB USB hard drives. Sometimes the files creep above 4GB (the maximum size of a single file on FAT32), ...

How can I write a program that can recover files in FAT32

Hi, How can I write a program that can recover files in FAT32. Please give me a suggestion! ...

2GB limit on file size when using fwrite in C?

Hi, I have a short C program that writes into a file until there is no more space on disk: #include <stdio.h> int main(void) { char c[] = "abcdefghij"; size_t rez; FILE *f = fopen("filldisk.dat", "wb"); while (1) { rez = fwrite(c, 1, sizeof(c), f); if (!rez) break; } fclose(f); return 0; } When I run the progra...

Jar files and FAT32

I am doing some analysis for a chunk of a desktop app we're working on. One requirement is that it be able to do i/o of some legacy file formats, which in practice are running as large as 800Mb each. An import might reasonably be expected to be on the order of 5Gb in size. Ideally, I'd just stick whatever files I want into a jar file,...

Command to truncate all filenames at 255 characters

An NTFS directory is open in a bash shell. what command will recursively truncate all filenames in a directory to the 255 character limit required for ext3? ...

low level C++ style i/o in C# for reading FAT32

i am workign on reading the FAT32 entry of the harddisk and so far have been successful in reading the entries by makign use of the following APIs CreateFile, ReadFile, SetFilePointer. Here is my code in C# written so far. ---The DLL IMPORTS----- [DllImport("kernel32.dll", SetLastError = true)] static extern IntPtr CreateFile(...

Weird standard for FAT32 >4gb files

I have recently encountered an embedded system with IDE drives that are FAT32 but have >4gb files. It appears to do this by setting the file size in the 32byte directory entry to how many bytes the final cluster uses - instead of being the actual file size. This allows the the files to have arbitrary FAT chains. The downside is the only ...

Max files per directory on NTFS vol vs FAT32

What's the max number of files that can be present in a directory on a NTFS volume? Same question for a directory for FAT32 volume? ...

Does the FAT filesystem have a signature?

Given the following BPB: The "MSWIN4.1" string is just the "OEM ID" field, and by Microsoft documentation it should not be used to identify FAT volumes. The "FAT32 " string is the BS_FilSysType field, and by Microsoft documentation it should not be used to identify FAT volumes either. So how do i identify that the volume is format...

How can I find information about a file from logical cluster number in NTFS/FAT32?

I am trying to defragment a single file through Windows defragmentation API ( http://msdn.microsoft.com/en-us/library/aa363911(VS.85).aspx ) but if there is no free space block large enough for my file I would like to move other parts of files to make room for it. The linked article mentions moving parts of other files but I can't find ...

Which is the fastest way to scan files in FAT32 disk?

I want to scan FAT32 disk (I just need file path and file name) as soon as possible in C++, Scan every files on FAT32 disk. Is there any API to do this? Many thanks! ...

Determine FileSystem of USB Drive

Is there a way to determine if a USB drive has been formatted as FAT, FAT32 or NTFS? ...

Is there a limit for the number of files in a directory on an SD card?

I have a project written for Android devices. It generates a large number of files, each day. These are all text files and images. The app uses a database to reference these files. The app is supposed to clear up these files after a little use (perhaps after a few days), but this process may or may not be working. This is not the subjec...

Setting Mercurial's execute bit on Windows

I work on a Mercurial repository that is checked out onto an Unix filesystem such as ext3 on some machines, and FAT32 on others. In Subversion, I can set the svn:executable property to control whether a file should be marked executable when checked out on a platform that supports such a bit. I can do this regardless of the platform I'm ...

Check for type of file system in an MSI package

In my MSI package I need to set user rights to a directory using cacls.exe. It works fine in an NTFS environment but fails when run on a Fat32 file system. Is there a method to determine the type of file system of the drive the software is installed to? I'm using WiX 3 to create my MSI package but any hint pointing to the MSI database w...

The FAT, Linux, and NTFS file systems

I heard that the NTFS file system is basically a b-tree. Is that true? What about the other file systems? What kind of trees are they? Also, how is FAT32 different from FAT16? What kind of tree are the FAT file systems using? ...

What is a good FAT file system for ARM7-TDMI

I'm using the ARM7TDMI-S (NXP processor) and I need a file system capable of reading/writing to an SD card. There are so many available, what have people used and been happy with? One that requires the least amount of setup is best - so the less I have to do to get it started (i.e. write device drivers to NXP's hardware) the better. I...

you nees permission to perform this action

i have fat32 usb flash drive when i want to del file the message show "you need permission to perform this action " access is denied cacls dont work cuz drive is fat32 (means access Control list dont support in fat32) file is hiden and file attribute is HS how can del file? i cant change file attribute ...

SQL Server 2008 maximum size on FAT32

Hi all, I am running WinXP with a FAT32 file system. Does FAT32's max. file size limit of 4GB apply on the max. database size I can have? (I have SQL Server 2008 Developer Edition, I know the free editions restrict DB size to 4GB, having nothing to do with the file system) Thanks for any info ...

Does Win32 support memory-mapped files (CreateFileMapping) on FAT file systems?

I'm concerned about the dangers of using memory-mapped IO, via CreateFileMapping, on FAT filesystems. The specific scenario is users opening documents directly from USB sticks (yeah, you try and ban them doing this!). The MSDN Managing Memory-Mapped Files article doesn't say anything about file system constraints. Update I didn't have...