Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 1999 19:26:30 +0200 (CEST)
From:      Assar Westerlund <assar@sics.se>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/13666: buggy filesystems are built as modules
Message-ID:  <199909091726.TAA04502@assaris.sics.se>

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

>Number:         13666
>Category:       kern
>Synopsis:       buggy filesystems are built as modules
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep  9 10:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Assar Westerlund
>Release:        FreeBSD 4.0-CURRENT i386 (and earlier)
>Organization:
none
>Environment:

This happens on both 4.0-CURRENT and 3.2

>Description:

{null,portal,umap,union}fs are marked as buggy in LINT and not
included in GENERIC.  They're still built as kld modules and will be
loaded automatically if they're mentioned in /etc/fstab.  (This
actually happened to a friend of mine.)

>How-To-Repeat:

Add a null filesystem in /etc/fstab.

>Fix:

Remove them so they're not build in modules:

Index: src/sys/modules/Makefile
===================================================================
RCS file: /src/fbsd-repository/src/sys/modules/Makefile,v
retrieving revision 1.70
diff -u -w -u -w -r1.70 Makefile
--- Makefile	1999/08/10 17:15:11	1.70
+++ Makefile	1999/09/09 17:22:52
@@ -1,15 +1,17 @@
 #	$Id: Makefile,v 1.70 1999/08/10 17:15:11 wpaul Exp $
 
-# XXX present but broken: atapi ip_mroute_mod joy pcic
+# XXX present but broken: atapi ip_mroute_mod joy pcic nullfs portal umapfs union
 
 SUBDIR=	ax ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
-	kernfs mfs msdos mx nfs ntfs nullfs pn portal procfs sf sk ti \
-	tl umapfs union vn vr xl
+	kernfs mfs msdos mx nfs ntfs pn procfs sf sk ti \
+	tl vn vr xl
 
 # XXX some of these can move to the general case when de-i386'ed
 .if ${MACHINE_ARCH} == "i386"
 SUBDIR+=bktr coff fpu gnufpu ibcs2 linux splash streams \
 	svr4 syscons vesa vinum
 .endif

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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