public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Rohland <cr@sap.com>
To: aprasad@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: to resize shared memory segment by using shmctl
Date: 06 Nov 2000 18:13:20 +0100	[thread overview]
Message-ID: <qwwbsvt81n3.fsf@sap.com> (raw)
In-Reply-To: <CA25698F.005C921F.00@d73mta05.au.ibm.com>
In-Reply-To: aprasad@in.ibm.com's message of "Mon, 6 Nov 2000 16:04:53 +0530"

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/

      reply	other threads:[~2000-11-06 17:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-06 10:34 to resize shared memory segment by using shmctl aprasad
2000-11-06 17:13 ` Christoph Rohland [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qwwbsvt81n3.fsf@sap.com \
    --to=cr@sap.com \
    --cc=aprasad@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox