cs412017
2005-11-09 06:55:28 UTC
Okay, a few questions about the page file...as Daniel mentioned,
printing page_device->numSectors gives you 2048, from the description it
seems that it should be 512. I am also not sure about what the
page_device->startSector returns...In init paging when I print it out it
prints out 311...does that mean that the free sectors are only between
block numbers 312 and 2047???
I tried a random approach to writing and reading sectors. I could read
and write from sector number 0 also...so, I'm not sure what that means.
Is page_device->startSector meant for our own bookkeeeping purposes???
If we are given complete freedom over writing to the page device, that
works for me...I am just a little confused about what we are allowed and
not allowed to do.
Thanks..
printing page_device->numSectors gives you 2048, from the description it
seems that it should be 512. I am also not sure about what the
page_device->startSector returns...In init paging when I print it out it
prints out 311...does that mean that the free sectors are only between
block numbers 312 and 2047???
I tried a random approach to writing and reading sectors. I could read
and write from sector number 0 also...so, I'm not sure what that means.
Is page_device->startSector meant for our own bookkeeeping purposes???
If we are given complete freedom over writing to the page device, that
works for me...I am just a little confused about what we are allowed and
not allowed to do.
Thanks..