From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 1 12:12:55 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3295137B401 for ; Tue, 1 Jul 2003 12:12:55 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55A4343FF2 for ; Tue, 1 Jul 2003 12:12:53 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h61JCoeg058393; Tue, 1 Jul 2003 14:12:50 -0500 (CDT) (envelope-from dan) Date: Tue, 1 Jul 2003 14:12:50 -0500 From: Dan Nelson To: omestre@freeshell.org Message-ID: <20030701191250.GI99556@dan.emsphone.com> References: <20030701172757.2DF36C12D12@ws-tor-0004.procergs> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030701172757.2DF36C12D12@ws-tor-0004.procergs> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org Subject: Re: cookie size... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 19:12:55 -0000 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