Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread nathan
Alfred Perlstein wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [000513 00:41] wrote: Alfred Perlstein wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [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

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Alfred Perlstein
* [EMAIL PROTECTED] [EMAIL PROTECTED] [000513 01:53] wrote: When you wrote if (!mmap(base + offset, additional length, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, offset)) { This may sound silly but after this is done then the file will reflect the changes? and now the

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Arun Sharma
On Sat, May 13, 2000 at 12:08:35PM -0700, Matthew Dillon wrote: The linux mremap() is an idiotic system call. Just unmap the file and re-mmap it. If you are just appending to the file, you can skip the munmap. mmap deletes the old mappings. -Arun To Unsubscribe: send mail

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Alfred Perlstein
* [EMAIL PROTECTED] [EMAIL PROTECTED] [000513 00:41] wrote: Alfred Perlstein wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [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

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Matthew Dillon
:In muc.lists.freebsd.hackers, you 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 ? : :Have you tried mmap'ing the file

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Matthew Dillon
:On Sat, May 13, 2000 at 12:08:35PM -0700, Matthew Dillon wrote: : The linux mremap() is an idiotic system call. Just unmap the file and : re-mmap it. : :If you are just appending to the file, you can skip the munmap. mmap deletes :the old mappings. : : -Arun There are a

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread nathan
Alfred Perlstein wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [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

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Alfred Perlstein
* [EMAIL PROTECTED] [EMAIL PROTECTED] [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