Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 21:39:03 -0700 (PDT)
From:      kbyanc@posi.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/19192: patches to include specfs in LINT, modules
Message-ID:  <200006110439.VAA91939@kbyanc.corp.ONElist.com>

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

>Number:         19192
>Category:       kern
>Synopsis:       patches to include specfs in LINT, modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 10 21:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kelly Yancey
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
eGroups.com -- http://www.eGroups.com/
>Environment:

FreeBSD backroom.corp.ONElist.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sat
Jun 10 12:08:26 PDT 2000
kbyanc@backroom.corp.ONElist.com:/usr/src/sys/compile/BACKROOM  i386

>Description:

	Poor specfs wass being treated as second-class code. Attached is a
	shar containing /sys/modules/specfs/Makefile. Following that is a
	diff which adds specfs to /sys/modules/Makefile, to
	/sys/conf/options, and to LINT.

	-Kelly
	 kbyanc@posi.net

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	modules/specfs/
#	modules/specfs/Makefile
#
echo c - modules/specfs/
mkdir -p modules/specfs/ > /dev/null 2>&1
echo x - modules/specfs/Makefile
sed 's/^X//' >modules/specfs/Makefile << 'END-of-modules/specfs/Makefile'
X# $FreeBSD$
X
X.PATH:	${.CURDIR}/../../miscfs/specfs
XKMOD=	specfs
XSRCS=	vnode_if.h \
X	spec_vnops.c
XNOMAN=
X
X.include <bsd.kmod.mk>
END-of-modules/specfs/Makefile
exit


Index: modules/Makefile
===================================================================
RCS file: /home/cvs/src/sys/modules/Makefile,v
retrieving revision 1.120
diff -u -r1.120 Makefile
--- modules/Makefile	2000/06/09 16:07:32	1.120
+++ modules/Makefile	2000/06/11 04:17:19
@@ -5,7 +5,7 @@
 SUBDIR=	agp aha amr an aue ccd cd9660 coda cue dc fdesc fxp if_disc if_ef if_ppp \
 	if_sl if_tun ipfilter ipfw joy kernfs kue \
 	md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \
-	nwfs portal procfs rl sf sis sk ste syscons ti tl twe tx \
+	nwfs portal procfs rl sf sis sk specfs ste syscons ti tl twe tx \
 	udbp ugen uhid ukbd ulpt umapfs umass umodem ums union urio usb \
 	vinum vn vpo vr wb xl
 
Index: conf/options
===================================================================
RCS file: /home/cvs/src/sys/conf/options,v
retrieving revision 1.206
diff -u -r1.206 options
--- conf/options	2000/06/10 02:09:50	1.206
+++ conf/options	2000/06/11 04:09:26
@@ -113,6 +113,7 @@
 PORTAL		opt_dontuse.h
 PROCFS		opt_dontuse.h
 UMAPFS		opt_dontuse.h
+SPECFS		opt_dontuse.h
 NTFS		opt_dontuse.h
 
 # These static filesystems has one slightly bogus static dependency in
Index: i386/conf/LINT
===================================================================
RCS file: /home/cvs/src/sys/i386/conf/LINT,v
retrieving revision 1.781
diff -u -r1.781 LINT
--- i386/conf/LINT	2000/06/09 23:47:30	1.781
+++ i386/conf/LINT	2000/06/11 04:36:05
@@ -613,6 +613,7 @@
 options 	PORTAL			#Portal filesystem
 options 	PROCFS			#Process filesystem
 options 	UMAPFS			#UID map filesystem
+options 	SPECFS			#Special file filesystem
 options 	UNION			#Union filesystem
 # The xFS_ROOT options REQUIRE the associated ``options xFS''
 options 	CD9660_ROOT		#CD-ROM usable as root device

>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?200006110439.VAA91939>