conf/79715: MNT_NODEV should be removed from sys/mount.h
Erez Zadok
ezk at cs.sunysb.edu
Sat Apr 9 09:00:50 PDT 2005
>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 at 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 at obsecurity.org>.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list