Re: Swap support

Dan Olson
2002-04-22T23:03:53Z

> So what you're basically saying is that all storage device drivers need
> to include a facility where they can be asked the size of the drive
> they're controlling, if I'm understanding that right? After all, it's
> not something that could safely be left to even the most experienced
> system admin to specify, so there needs to be some means for the swap
> system to ask the underlying device/file what its size is.

Why not just work towards having a swap partition/file system like that of
Linux? Then any type of drive (hard drive, RAM drive, even floppy) could
be used for swap, and the size would be known. Seems like that might make
things easier in the end as well, as the same code could be used for
either swap or a file system on the different types of media available.
Of course raw access is fine for now, just pick a default size for
testing.

Dan