Re: to resize shared memory segment by using shmctl

From: Christoph Rohland (cr@sap.com)
Date: Mon Nov 06 2000 - 12:13:20 EST


Hi,

On Mon, 6 Nov 2000, aprasad@in.ibm.com wrote:
> Hi, is it possible to change the size of a preexisting shared memory
> segment by using shmctl?
>
> AIX has comand SHM_SIZE to shmctl to resize any existing shared
> memory segment. can it be done without recreating the whole thing
> in linux?

No that's not possible in Linux. With 2.4 you can use posix shm and
use ftruncate to resize it.

Greetings
                Christoph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:19 EST