From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 14:14:56 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEC0D16A420 for ; Tue, 19 Feb 2008 14:14:56 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 01EC113C4DB for ; Tue, 19 Feb 2008 14:14:55 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 19 Feb 2008 13:48:15 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp017) with SMTP; 19 Feb 2008 14:48:15 +0100 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX19k9opTyvdkjnnd8kiHO1q+zYo4ViTRcNWkUBSaFJ OriVAeqIenTxwH Message-ID: <47BADE07.9020402@gmx.de> Date: Tue, 19 Feb 2008 14:47:51 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080205) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Mailman-Approved-At: Tue, 19 Feb 2008 14:36:10 +0000 Subject: nfs mounts don't work through fstab X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 14:14:56 -0000 My nfs mounts haven't been working by their fstab entries, ever since I switched to RELENG_7. Today I took the time tracking the issue down by adding lots of printf to mount.c. I tracked the problem down to the function fstabscan() in the file "/usr/src/lib/libc/gen/fstab.c". The result of my testing was that it is now obligatory to set 'sw', 'ro' or 'rw' in the options list. This is a change, that in my opinion should either be undone or documented in "/usr/src/UPDATING" and in the fstab(5) manual page.