File system with chained clusters
Posted
by
Maki Maki
on Programmers
See other posts from Programmers
or by Maki Maki
Published on 2012-05-31T17:11:19Z
Indexed on
2012/05/31
22:50 UTC
Read the original article
Hit count: 240
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?
© Programmers or respective owner