From owner-freebsd-questions Sat Jan 8 23:58:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from monkeys.com (i180.value.net [206.14.136.180]) by hub.freebsd.org (Postfix) with ESMTP id AC7D414E01 for ; Sat, 8 Jan 2000 23:58:16 -0800 (PST) (envelope-from rfg@monkeys.com) Received: from monkeys.com (localhost [127.0.0.1]) by monkeys.com (8.9.3/8.9.3) with ESMTP id XAA25825 for ; Sat, 8 Jan 2000 23:58:06 -0800 (PST) To: freebsd-questions@freebsd.org Subject: Two question about Berkeley DB Date: Sat, 08 Jan 2000 23:58:06 -0800 Message-ID: <25823.947404686@monkeys.com> From: "Ronald F. Guilmette" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have two simple questions about Berkeley DB. First, does Berkeley DB us mmap() ? Second, the man page for dbopen() says regarding the `sync' function pointer: sync A pointer to a routine to flush any cached informa- tion to disk. If the database is in memory only, the sync routine has no effect and will always suc- ceed. I want to know if this really means what it says. Does calling the sync function *really* flush data to the physical disk, or only to the kernel's buffer cache? Also, is it necessary to call the `sync' function in order to be assured that some other process that also has the DB file open will see the recent changes to the database made by the current process? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message