From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 19:05:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2538E16A4CE for ; Tue, 19 Oct 2004 19:05:20 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F1E543D45 for ; Tue, 19 Oct 2004 19:05:19 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 82144 invoked by uid 0); 19 Oct 2004 19:00:32 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 19 Oct 2004 19:00:32 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 651D91317D6; Wed, 20 Oct 2004 03:05:11 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00977-06; Wed, 20 Oct 2004 03:05:00 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 23352131764; Wed, 20 Oct 2004 03:04:59 +0800 (CST) Date: Wed, 20 Oct 2004 03:04:58 +0800 From: Xin LI To: Jean-S?bastien P?dron Message-ID: <20041019190458.GA1376@frontfree.net> References: <417538B9.7070001@club-internet.fr> <20041019182545.GA143@frontfree.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MfFXiAuoTsnnDAfZ" Content-Disposition: inline In-Reply-To: <20041019182545.GA143@frontfree.net> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #4: Mon Sep 13 12:44:05 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-current@freebsd.org Subject: Re: Read-only ReiserFS support for FreeBSD 5.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 19:05:20 -0000 --MfFXiAuoTsnnDAfZ Content-Type: multipart/mixed; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Here is a preliminary port, see attachment. It seems that the code itself is not -O2 clean. I will look at the issue in the morning. Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=reiserfs-port Content-Transfer-Encoding: quoted-printable # 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: # # reiserfs3/ # reiserfs3/files # reiserfs3/files/patch-mount_reiserfs::Makefile # reiserfs3/pkg-plist # reiserfs3/distinfo # reiserfs3/Makefile # reiserfs3/pkg-descr # echo c - reiserfs3/ mkdir -p reiserfs3/ > /dev/null 2>&1 echo c - reiserfs3/files mkdir -p reiserfs3/files > /dev/null 2>&1 echo x - reiserfs3/files/patch-mount_reiserfs::Makefile sed 's/^X//' >reiserfs3/files/patch-mount_reiserfs::Makefile << 'END-of-rei= serfs3/files/patch-mount_reiserfs::Makefile' X--- mount_reiserfs/Makefile.orig Wed Oct 20 02:51:26 2004 X+++ mount_reiserfs/Makefile Wed Oct 20 02:51:43 2004 X@@ -8,6 +8,7 @@ X=20 X MOUNT ?=3D /usr/src/sbin/mount X CFLAGS +=3D -I${MOUNT} X+DESTDIR?=3D ${PREFIX}/ X=20 X .PATH: ${MOUNT} X=20 END-of-reiserfs3/files/patch-mount_reiserfs::Makefile echo x - reiserfs3/pkg-plist sed 's/^X//' >reiserfs3/pkg-plist << 'END-of-reiserfs3/pkg-plist' Xmodules/linker.hints Xmodules/reiserfs.ko X@dirrm modules Xsbin/mount_reiserfs X END-of-reiserfs3/pkg-plist echo x - reiserfs3/distinfo sed 's/^X//' >reiserfs3/distinfo << 'END-of-reiserfs3/distinfo' XMD5 (reiserfs_for_freebsd-0.1.1.tar.bz2) =3D dcb6d38b9f00d36ead58812299744= ee7 XSIZE (reiserfs_for_freebsd-0.1.1.tar.bz2) =3D 46561 END-of-reiserfs3/distinfo echo x - reiserfs3/Makefile sed 's/^X//' >reiserfs3/Makefile << 'END-of-reiserfs3/Makefile' X# New ports collection makefile for: reiserfs3 X# Date created: 20 Oct 2004 X# Whom: Xin LI X# X# $FreeBSD$ X# X XPORTNAME=3D reiserfs3 XPORTVERSION=3D 0.1.1 XCATEGORIES=3D misc XMASTER_SITES=3D http://dumbbell.nerim.net/files/ XDISTNAME=3D reiserfs_for_freebsd-${PORTVERSION} X XMAINTAINER=3D delphij@FreeBSD.org XCOMMENT=3D Read-only ReiserFS 3.6 as kldmodule X XKMODDIR?=3D ${PREFIX}/modules XMAKE_ARGS=3D KMODDIR=3D"${KMODDIR}" MANDIR=3D"${PREFIX}/man/man" XUSE_BZIP2=3D yes X XSRC_BASE?=3D /usr/src X X.include X X.if ${OSVERSION} < 502010 XIGNORE=3D "Only for 5.2.1 and above" X.endif X X.if !exists(${SRC_BASE}/sys/Makefile) XIGNORE=3D "Kernel source files required" X.endif X Xpre-su-install: X ${MKDIR} ${KMODDIR} X Xpost-install: X @${ECHO} =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D X @${ECHO} Please manually link ${PREFIX}/sbin/mount_reiserfs to /sbin to X @${ECHO} get mount\(1\) work with -t reiserfs. X @${ECHO} =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D X X.include END-of-reiserfs3/Makefile echo x - reiserfs3/pkg-descr sed 's/^X//' >reiserfs3/pkg-descr << 'END-of-reiserfs3/pkg-descr' XRead-only ReiserFS 3.6 support for FreeBSD X XReiserFS is a journalised filesystem, made by Hans Reiser (namesys.com). XIt's available for Linux since the 2.4.x series. X XThis port provides Read-only ReiserFS support for FreeBSD. X XInformation about ReiserFS port on FreeBSD can be found at the website of Xthe original porter: X XWWW: http://dumbbell.nerim.net/index2.html X XDetailed information about ReiserFS can be found at the website XWWW: http://www.namesys.com/ END-of-reiserfs3/pkg-descr exit --W/nzBZO5zC0uMSeA-- --MfFXiAuoTsnnDAfZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBdWVa/cVsHxFZiIoRAgiKAKCMR+XaVzoaqLjGLY/4YqbZ/hBw+ACfSuIK utIAgcN1qhyUBBrq3ULkJWY= =uHT9 -----END PGP SIGNATURE----- --MfFXiAuoTsnnDAfZ--