From owner-freebsd-questions@FreeBSD.ORG Sat May 12 17:50:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A724116A404 for ; Sat, 12 May 2007 17:50:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9825013C45E for ; Sat, 12 May 2007 17:50:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 418991A3C19; Sat, 12 May 2007 10:51:26 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AA643513BC; Sat, 12 May 2007 13:50:38 -0400 (EDT) Date: Sat, 12 May 2007 13:50:38 -0400 From: Kris Kennaway To: Tom Judge Message-ID: <20070512175038.GA22856@xor.obsecurity.org> References: <4644F7D1.2090106@free.fr> <46459523.3040801@tomjudge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46459523.3040801@tomjudge.com> User-Agent: Mutt/1.4.2.2i Cc: Philippe Laquet , freebsd-questions@freebsd.org Subject: Re: Any FBSD Filesystem with Mandatory Locks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2007 17:50:39 -0000 On Sat, May 12, 2007 at 11:21:23AM +0100, Tom Judge wrote: > Philippe Laquet wrote: > > > >Dear All, > > > >I a trying to get HAVP (it works almost well, great software!) but I > >also need to use the streaming option and it needs a FS mounted with > >mandatory locks. I did not found any option with UFS(2) and also tried > >with ext2fs loaded but the mount_ext2fs does not support "-o mand" ... > >Any idea?... > > > > > >My config : FBSD 6-STABLE > >GENERIC Kernel > >HAVP 0.85 (tuned makefile to compile the with STREAM function) > > > >Tried with : > >mdconfig -a -t malloc -s32m > >mount_ext2fs -o mand /dev/md0 /tmp/havp (the "mand" option is not > >recognized) > > > > I don't think that FreeBSD has mandatory file locks, I believe that all > locks are advisory. I may be wrong but this is what the section on > file/descriptor locking in "The Design And Implementation of the FreeBSD > Operating System" seemed to suggest, this may have changed since 5.2 tho. That's correct. Kris