File system with chained clusters
- by Maki Maki
I'm trying to create school file system with partitions on disks, every partition has its cluster for her representation.
typedef unsigned long ClusterNo;
const unsigned long ClusterSize = 2048;
int x, y ;//x ,y are entries for two-chained lists of clusters
if (endOfFile<maxsize//
{
...
{
pointer = KernelFS::searchFreeCluster(partitionPointer->letter) "
How can I initialize the beginning for two clusters, their pointers to be 32 bits?