Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2000 23:57:21 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        nathan@khmere.com
Cc:        "hackers@FreeBSD.ORG" <hackers@FreeBSD.ORG>
Subject:   Re: mremap help ? or no support for FreeBSD ? so do what ?
Message-ID:  <20000512235721.A28383@fw.wintelcom.net>
In-Reply-To: <391D39E0.934224E4@khmere.com>; from nathan@khmere.com on Sat, May 13, 2000 at 04:17:53AM -0700
References:  <391D39E0.934224E4@khmere.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* nathan@khmere.com <nathan@khmere.com> [000512 21:54] wrote:
> I know that this was discussed in the past but I can't find out what to
> do ?
> 
> In Linux if I have to resize a mmap 'ed object I can just use mremap....
> but in FreeBSD if,  I want to resize it what do I do ?
> 
> I have tried writing past where I know the end is and it kinda works ?
> but why ?
> 
> Is their a better solution besides just writing to the file and then
> calling msync ?
> 
> Is their new plans to make a mremap call for FreeBSD 4.x ?

no.

> 
> Or am I just  sh%t  out of luck ?

Possibly, but if you describe what you are trying to accomplish
there may be some advice available.  Your misuse of msync makes me
think that a rethinking of what you are trying to accomplish may
be a good idea.  Please explain what makes you need mremap which
is not portable to any version of unix.  I'm assuming you want your
app to work on Solaris and other commercial systems.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000512235721.A28383>