From owner-freebsd-questions@FreeBSD.ORG Sat May 12 10:20:44 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 BB04B16A402 for ; Sat, 12 May 2007 10:20:44 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp804.mail.ird.yahoo.com (smtp804.mail.ird.yahoo.com [217.146.188.64]) by mx1.freebsd.org (Postfix) with SMTP id 208A613C458 for ; Sat, 12 May 2007 10:20:43 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 70256 invoked from network); 12 May 2007 10:20:39 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@86.140.150.175 with plain) by smtp804.mail.ird.yahoo.com with SMTP; 12 May 2007 10:20:39 -0000 X-YMail-OSG: 6Z0gfmkVM1kpwQCjAYnJJT2cNv7m47TjTW9p.p_XP5lP99.I Message-ID: <46459523.3040801@tomjudge.com> Date: Sat, 12 May 2007 11:21:23 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: Philippe Laquet References: <4644F7D1.2090106@free.fr> In-Reply-To: <4644F7D1.2090106@free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 10:20:44 -0000 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. Tom