From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 9 16:00:50 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD28316A4CE for ; Sat, 9 Apr 2005 16:00:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 589DF43D46 for ; Sat, 9 Apr 2005 16:00:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j39G0oj9066996 for ; Sat, 9 Apr 2005 16:00:50 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j39G0oGl066995; Sat, 9 Apr 2005 16:00:50 GMT (envelope-from gnats) Resent-Date: Sat, 9 Apr 2005 16:00:50 GMT Resent-Message-Id: <200504091600.j39G0oGl066995@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erez Zadok Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA58E16A4CE for ; Sat, 9 Apr 2005 15:52:47 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94CD443D54 for ; Sat, 9 Apr 2005 15:52:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j39Fql5a061069 for ; Sat, 9 Apr 2005 15:52:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j39FqlT0061068; Sat, 9 Apr 2005 15:52:47 GMT (envelope-from nobody) Message-Id: <200504091552.j39FqlT0061068@www.freebsd.org> Date: Sat, 9 Apr 2005 15:52:47 GMT From: Erez Zadok To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: conf/79715: MNT_NODEV should be removed from sys/mount.h X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 16:00:50 -0000 >Number: 79715 >Category: conf >Synopsis: MNT_NODEV should be removed from sys/mount.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 09 16:00:49 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Erez Zadok >Release: 6.0 >Organization: Stony Brook University >Environment: FreeBSD a-freebsd6.fsl.cs.sunysb.edu 6.0-CURRENT-SNAP001 FreeBSD 6.0-CURRENT-SNAP001 #0: Fri Feb 4 22:20:07 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: I maintain am-utils (www.am-utils.org). Users reported some problems to me, which I tracked down to a depracated definition of MNT_NODEV in sys/mount.h. It was left there, but reset to 0: #define MNT_NODEV 0 /* Deprecated option */ This is incompatible with systems which use autoconf, because they "autodetect" that MNT_NODEV exists, and are happy to say that the "nodev" mount option exists. Am-utils gets confused. While I was able to work around this issue in am-utils-6.1-rc1, I think it is simply best to remove obsolste defintiion from code and let people fix their code properly: leaving them there but changing their values is causing worse confusion. I filled out this PR at the reques of Kris Kennaway . >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: