A new filesystem
Posted: Sun Feb 15, 2004 7:34 am
Hi i try to design a small and simple filesystem.
The main things are:
1. 512 byte bootsector (not directly the filesystem, i know)
2. 0.5% of the hole disk size for a FAT (not like Microsofts):
1. table size (int value (4bytes))
2. table entries:
1. name (ends with a zero byte)
2. position of the file (int value (4bytes))
3. size of the file (int value (4bytes))
3. the rest of the disk for the files
/*I know that the limit of this system is 4GB*/
So the problem is how can i find place for new files in short time(i don't want to split them), if some files were deleted.
The main things are:
1. 512 byte bootsector (not directly the filesystem, i know)
2. 0.5% of the hole disk size for a FAT (not like Microsofts):
1. table size (int value (4bytes))
2. table entries:
1. name (ends with a zero byte)
2. position of the file (int value (4bytes))
3. size of the file (int value (4bytes))
3. the rest of the disk for the files
/*I know that the limit of this system is 4GB*/
So the problem is how can i find place for new files in short time(i don't want to split them), if some files were deleted.