* to resize shared memory segment by using shmctl
@ 2000-11-06 10:34 aprasad
2000-11-06 17:13 ` Christoph Rohland
0 siblings, 1 reply; 2+ messages in thread
From: aprasad @ 2000-11-06 10:34 UTC (permalink / raw)
To: linux-kernel
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?
thanks
Anil
-
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: to resize shared memory segment by using shmctl
2000-11-06 10:34 to resize shared memory segment by using shmctl aprasad
@ 2000-11-06 17:13 ` Christoph Rohland
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Rohland @ 2000-11-06 17:13 UTC (permalink / raw)
To: aprasad; +Cc: linux-kernel
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-06 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-06 10:34 to resize shared memory segment by using shmctl aprasad
2000-11-06 17:13 ` Christoph Rohland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox