Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 14:12:50 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        omestre@freeshell.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: cookie size...
Message-ID:  <20030701191250.GI99556@dan.emsphone.com>
In-Reply-To: <20030701172757.2DF36C12D12@ws-tor-0004.procergs>
References:  <20030701172757.2DF36C12D12@ws-tor-0004.procergs>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 01), omestre@freeshell.org said:
> Do you know how can i make the cookies (FreeBSD 5.x) size linux
> compatible? I have FreeBSD machines (5.x), NFS clients of a NFS linux
> server... and the locks do not work. The server reports the
> incompatible cookie size for lock requests... (in 4.x works).
>  So, i want recompile the software in question ( i don't know what)
> :), and make it 8 bytes in size.

You asked this back in April :)  I pointed you to the places in the
FreeBSD kernel you had to change.

http://lists.freebsd.org/pipermail/freebsd-hackers/2003-April/000592.html

It'd be easier if Linux would just follow the NFS spec, though. 
http://lxr.linux.no/source/include/linux/lockd/xdr.h has the following
comment:

  /*
   *  NLM cookies. Technically they can be 1K, Nobody uses over 8 bytes
   *  however.
   */

-- 
	Dan Nelson
	dnelson@allantgroup.com



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