![]() |
FAT creation
Does anyone have any tips of creating a FAT. Basically i'm trying to simulate a file system like in a USB stick or something and want to do this right.
The memory will be simulated by an array of 1024 blocks which can be either file data (bytes), directory data, or FAT data connecting the blocks of a file. However some blocks are special: Block 0 will be data about the whole file system Blocks 1 and 2 will be the FAT Block 3 will be the root directory. The rest of the blocks will be either data or directory. Any tips or pieces of code that'll help me out? Cheers. |
msdn.com is nice for code tips and snippets of code, but I don't think people will want to code this for you.
|
While we're on the FAT topic,
I have this commpressed file that holds a file that's over 4GB. My computer, being FAT32 can't hold a file that's over 4GB. Is converting to NTFS the only solution in this case? Or is there another way around it? |
Navid, no I think it's the only way..
To OP (BungalowBill): Can you not format the drive to a FAT filesystem? Like in an OS. The FAT32 filesystem specification can be downloaded. You might find some information here. |
Quote:
|
So, I should covert to NTFS and then simply covert back to FAT32? Will I lose anything during the process?
|
Quote:
|
Can't I use DOS though?
I found this command at: http://www.microsoft.com/technet/arc...eploy/fat.mspx :
CONVERT C: /FS:NTFSEDIT: My OS is WindowsXP Home, which i think is NT5. |
You can't convert back like that, but yes, that'll work.
|
Alright thanks guys. And sorry BungalowBill, I didn't mean to hi-jack your thread.
|
| All times are GMT -5. The time now is 4:29 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC