1/*- 2 * See the file LICENSE for redistribution information. 3 * 4 * Copyright (c) 1998,2008 Oracle. All rights reserved. 5 * 6 * $Id: os_config.c,v 1.6 2008/01/08 20:58:44 bostic Exp $ 7 */ 8 9#include "db_config.h" 10 11#include "db_int.h" 12 13/* 14 * __os_fs_notzero -- 15 * Return 1 if allocated filesystem blocks are not zeroed. 16 */ 17int 18__os_fs_notzero() 19{ 20 /* 21 * XXX 22 * We don't know if the BREW filesystem zero-fills newly allocated 23 * filesystem blocks. For now, be conservative and zero out blocks 24 * in Berkeley DB. 25 * 26 * This should be tested. 27 */ 28 return (1); 29} 30 31/* 32 * __os_support_direct_io -- 33 * Return 1 if we support direct I/O. 34 */ 35int 36__os_support_direct_io() 37{ 38 return (0); 39} 40 41/* 42 * __os_support_db_register -- 43 * Return 1 if the system supports DB_REGISTER. 44 */ 45int 46__os_support_db_register() 47{ 48 return (0); 49} 50 51/* 52 * __os_support_replication -- 53 * Return 1 if the system supports replication. 54 */ 55int 56__os_support_replication() 57{ 58 return (0); 59} 60