Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2005 15:52:47 GMT
From:      Erez Zadok <ezk@cs.sunysb.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/79715: MNT_NODEV should be removed from sys/mount.h
Message-ID:  <200504091552.j39FqlT0061068@www.freebsd.org>
Resent-Message-ID: <200504091600.j39G0oGl066995@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <kris@obsecurity.org>.


>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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