Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 13:50:38 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Tom Judge <tom@tomjudge.com>
Cc:        Philippe Laquet <stom@free.fr>, freebsd-questions@freebsd.org
Subject:   Re: Any FBSD Filesystem with Mandatory Locks?
Message-ID:  <20070512175038.GA22856@xor.obsecurity.org>
In-Reply-To: <46459523.3040801@tomjudge.com>
References:  <4644F7D1.2090106@free.fr> <46459523.3040801@tomjudge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070512175038.GA22856>