From owner-freebsd-bugs Sun Jul 9 8:40:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5F57D37B53A for ; Sun, 9 Jul 2000 08:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA51695; Sun, 9 Jul 2000 08:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 19E5D37B844; Sun, 9 Jul 2000 08:35:10 -0700 (PDT) Message-Id: <20000709153510.19E5D37B844@hub.freebsd.org> Date: Sun, 9 Jul 2000 08:35:10 -0700 (PDT) From: nm@web.am To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/19803: Ext2fs kld module submission Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19803 >Category: kern >Synopsis: Ext2fs kld module submission >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 09 08:40:03 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Gaspar Chilingarov >Release: FreeBSD 5.0-current >Organization: WEB Ltd., http://www.web.am >Environment: FreeBSD nightmar.web.am 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Sat Jul 8 15:21:04 GMT 2000 root@nightmar.web.am:/usr/src/sys/compile/nm i386 >Description: Just loadable version of ext2fs driver to get rid of EXT2FS from kernel :) sorry for inconvient form of supplying patch, but all my mails got rejected because of absent reverse DNS record. >How-To-Repeat: >Fix: Apply this patch in /usr/src/sys/gnu/ext2fs --cut-- --- ext2_readwrite.c.orig Sun Jul 9 20:39:57 2000 +++ ext2_readwrite.c Sun Jul 9 19:52:50 2000 @@ -48,6 +48,36 @@ #define WRITE ext2_write #define WRITE_S "ext2_write" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + /* * Vnode op for reading. */ --cut-- and put this Makefile into /sys/modules/ext2fs --cut-- .PATH: ${.CURDIR}/../../gnu/ext2fs KMOD= ext2fs SRCS= vnode_if.h \ opt_quota.h \ opt_ddb.h \ opt_suiddir.h \ ext2_inode.c \ ext2_alloc.c \ ext2_balloc.c \ ext2_extern.h \ ext2_fs.h \ ext2_fs_sb.h \ ext2_inode_cnv.c \ ext2_linux_balloc.c \ ext2_linux_ialloc.c \ ext2_lookup.c \ ext2_readwrite.c \ ext2_subr.c \ ext2_vfsops.c \ ext2_vnops.c \ fs.h \ i386-bitops.h NOMAN= .include --cut-- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message