Re: Swap support

Harry Kalogirou
2002-04-23T19:36:23Z

Την Τρι, 23-04-2002 στις 23:03, ο/η Blaz Antonic έγραψε:
> > 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.
>
> My bad, this should be easy to add. I was peeking at doshod.c when i was
> writing ramdisk driver, i must have missed the relevant part abot
> updating this thing. If doshd.c does it it should be no biggie (a couple
> of lines of code, namely in function that creates and destroys
> ramdisks).
>
> Blaz Antonic
>

You are right, basicaly it just needs a

blk_size[MAJOR][MINOR] = no_of_1024_byte_blocks;

Harry

-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html