Re: Swap support

Harry Kalogirou
2002-04-23T06:56:29Z

[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]

Την Τρι, 23-04-2002 στις 02:03, ο/η Dan Olson έγραψε:
> > 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.
>

I just said that the ramdisk driver doesn't report it's size, others
report it just fine. There is a little structure that contains the size
,among other things, of the device but ramdisk doesn't seem to update
it.

Harry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 232 bytes --]