From owner-freebsd-emulation Sun Dec 26 9:42:30 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id BC0DB14D94 for ; Sun, 26 Dec 1999 09:42:26 -0800 (PST) (envelope-from mb@imp.ch) Received: from mephisto.imp.ch (mb@mephisto.imp.ch [157.161.1.22]) by mail.imp.ch (8.9.3/8.9.3) with ESMTP id SAA27265; Sun, 26 Dec 1999 18:42:15 +0100 (MET) Received: from localhost (mb@localhost) by mephisto.imp.ch (8.9.3/8.9.3) with ESMTP id SAA20359; Sun, 26 Dec 1999 18:42:12 +0100 (MEZ) Date: Sun, 26 Dec 1999 18:42:12 +0100 From: Martin Blapp To: dkwiebe@heartland.ab.ca Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: German Staroffice Port Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Also I have a patch laying here waiting for me to use which > will allow you to set the TMPDIR variable so that you don't have to use > your /tmp directory. I think I have a better solution: As temporary directory I only use ${WRKDIR}/tmp. Then I do a @${CP} /compat/linux/etc/ld.so.conf ${WRKDIR}/tmp/ld.so.conf.temp @${ECHO} "${WRKDIR}/tmp" >> ${WRKDIR}/tmp/ld.so.conf.temp @/usr/compat/linux/sbin/ldconfig -f ${WRKDIR}/tmp/ld.so.conf.temp So we use for the whole installation the temporary-dir ${WRKDIR}/tmp/. Writing into the original ld.so.conf had the bad effect that a make deinstall did not remove the entries. After six installations I had 12 entries there :) A make clean removes the tmp directory and everything works as it should. The /tmp/sv001 directory is not created anymore. Just look at my german pert version 1.1 I've just finished: http://www.attic.ch/ports/staroffice5-german11.tar.gz Martin PS: next week I'll be away, so I cannot answer any mails. Martin Blapp, mb@imp.ch ------------------------------------------------ Improware AG, UNIX solution and service provider Zurlindenstrasse 29, 4133 Pratteln, Switzerland Phone: +41 79 370 26 05, Fax: +41 61 826 93 01 ------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Dec 29 10:53: 2 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from jasper.heartland.ab.ca (jasper.heartland.ab.ca [207.107.228.1]) by hub.freebsd.org (Postfix) with ESMTP id 50C90151D1 for ; Wed, 29 Dec 1999 10:52:54 -0800 (PST) (envelope-from dkwiebe@hagenhomes.com) Received: from hagenhomes.com (dyn104.heartland.ab.ca [207.107.228.104]) by jasper.heartland.ab.ca (8.9.0/8.9.0) with ESMTP id LAA22959; Wed, 29 Dec 1999 11:37:56 -0700 (MST) Message-ID: <386BA9C1.51C558E0@hagenhomes.com> Date: Thu, 30 Dec 1999 11:51:45 -0700 From: Darren Wiebe Organization: Hagen Homes Ltd. X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Martin Blapp Cc: dkwiebe@hagenhomes.com, freebsd-emulation@FreeBSD.ORG Subject: Re: German Staroffice Port References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Okay I have modified the port to use ${WRKDIR}/tmp for the default temp directory, however, that can be overwritten. I am going to be submitting my changes yet today. If you have any other suggestions please let me know or else respond to the ports submission. Darren Wiebe dkwiebe@hagehomes.com Martin Blapp wrote: > > > Also I have a patch laying here waiting for me to use which > > will allow you to set the TMPDIR variable so that you don't have to use > > your /tmp directory. > > I think I have a better solution: As temporary directory I only use > ${WRKDIR}/tmp. Then I do a > > @${CP} /compat/linux/etc/ld.so.conf ${WRKDIR}/tmp/ld.so.conf.temp > @${ECHO} "${WRKDIR}/tmp" >> ${WRKDIR}/tmp/ld.so.conf.temp > @/usr/compat/linux/sbin/ldconfig -f ${WRKDIR}/tmp/ld.so.conf.temp > > So we use for the whole installation the temporary-dir ${WRKDIR}/tmp/. > Writing into the original ld.so.conf had the bad effect that a make > deinstall did not remove the entries. After six installations I had > 12 entries there :) > > A make clean removes the tmp directory and everything works as it should. > The /tmp/sv001 directory is not created anymore. > > Just look at my german pert version 1.1 I've just finished: > > http://www.attic.ch/ports/staroffice5-german11.tar.gz > > Martin > > PS: next week I'll be away, so I cannot answer any mails. > > Martin Blapp, mb@imp.ch > ------------------------------------------------ > Improware AG, UNIX solution and service provider > Zurlindenstrasse 29, 4133 Pratteln, Switzerland > Phone: +41 79 370 26 05, Fax: +41 61 826 93 01 > ------------------------------------------------ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Dec 30 17: 2:59 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 01D7B15301; Thu, 30 Dec 1999 17:02:48 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id C630E1CA0; Fri, 31 Dec 1999 09:02:45 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Guido van Rooij Cc: Hidetoshi Shimokawa , vsilyaev@mindspring.com, dillon@freebsd.org, freebsd-emulation@FreeBSD.ORG, dbutter@wireless.net Subject: Re: VMware: Questions... In-Reply-To: Message from Guido van Rooij of "Wed, 22 Dec 1999 22:48:03 +0100." <19991222224803.A410@gvr.gvr.org> Date: Fri, 31 Dec 1999 09:02:45 +0800 From: Peter Wemm Message-Id: <19991231010245.C630E1CA0@overcee.netplex.com.au> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Guido van Rooij wrote: > On Mon, Dec 20, 1999 at 11:31:49PM +0800, Peter Wemm wrote: > > > > > > This is because mmaped file is written every 30 second by sync daemon. > > > The file is usually named /var/tmp/ram0 but it's unlinked right after > > > opened so you cannot see it by 'ls' although it exits. > > > > It would be nice if the VFS/VM system detected this automatically and > > switched on NOSYNC for files that got unlinked... I wouldn't be suprised i f > > this is what Linux does. Matt, is this possible? > > > > I havent seen an answer to this question yet. If it is possible, that > would be very nice. I doubt it though, but my knowledge on that part > of the system is rather limited. > A quick workaround could be to look at the ref count of the underlying > inode of the fd passed to the linux mmap > If the refcount is one then clearly the inode is no being referenced through > a directory entry in the file system. This could even be done for the general > mmap call (provided a regular file of course). But it might be a very > specific situation because one usually would not used a file backed > mmap in FreeBSD, yet use an anonymous mmap. I had a go, it turned out to be quite easy (so far). I haven't finished verifying that it's doing everything exactly as expected yet though. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message