Discussion:
Get_Paging_Device
(too old to reply)
Tom Brubaker
2005-04-05 05:41:34 UTC
Permalink
It looks like the file returned by Get_Paging_Device is 1MB in size by
default. What should we do if we need more space than this? Is there a way
to grow this file? Are we responsible for finding more space for swapping?

-Tom-
Iulian Neamtiu
2005-04-05 14:36:45 UTC
Permalink
Post by Tom Brubaker
It looks like the file returned by Get_Paging_Device is 1MB in size by
default. What should we do if we need more space than this?
The page file is created by this line in Makefile

$(ZEROFILE) pagefile.bin 2048

(2048 sectors * SECTOR_SIZE = 1MB), since SECTOR_SIZE = 512

You can change the size to whatever you wish, but the tests in the
grading criteria won't require more than 1MB of swap space.

Before submitting, though, please change the size back to 2048 sectors
and make sure your project still passes the tests in the grading criteria.

Iulian

Is there a way
Post by Tom Brubaker
to grow this file? Are we responsible for finding more space for swapping?
-Tom-
Continue reading on narkive:
Loading...