#!/bin/sh

TMP=$(mktemp -d)

# db init

cssutil -q -r $TMP/spam.css > /dev/null
cssutil -q -r $TMP/nonspam.css > /dev/null
cp crm114_mailfilter.cf $TMP/mailfilter.cf
ln -s /dev/null $TMP/spamtext.txt
ln -s /dev/null $TMP/nonspamtext.txt

# mailfilter.crm --force -u $TMP --learnnonspam  < corpus_my-2005-10-08/ham_small_split/13
/usr/bin/crm "-( learnspam learnnonspam learnfile stats_only config spamcss nonspamcss fileprefix force unlearn )" /usr/share/crm114/mailfilter.crm -u $TMP --learnnonspam \
  <<__EOF__
From openzaurus-users-admin@lists.sourceforge.net Thu Oct 06 08:02:32 2005
Return-path: <openzaurus-users-admin@lists.sourceforge.net>
Envelope-to: system-filter
Delivery-date: Thu, 06 Oct 2005 08:02:32 +0200
Received: from mail by alea.gnuu.de with local-spamfilter (Exim 4.50)
	id 1ENOpq-0006tw-0G
	for ml-openzaurus@alea.gnuu.de; Thu, 06 Oct 2005 08:02:30 +0200
Received: from uucp (helo=uucp.gnuu.de)
	by alea.gnuu.de with local-bsmtp (Exim 4.50)
	id 1ENOnU-0006fe-Qk
	for ml-openzaurus@alea.gnuu.de; Thu, 06 Oct 2005 08:00:04 +0200
Received: from relay.germany.net (relay.germany.net [151.189.0.100])
	by uucp.gnuu.de (8.12.9/8.12.9) with ESMTP id j960xBGF094465
	for <ml-openzaurus@alea.gnuu.de>; Thu, 6 Oct 2005 02:59:11 +0200 (CEST)
	(envelope-from openzaurus-users-admin@lists.sourceforge.net)
Received: from lists-outbound.sourceforge.net (lists-outbound.sourceforge.net [66.35.250.225])
	by relay.germany.net (8.13.4/8.13.4) with ESMTP id j960xAon003570
	for <ml-openzaurus@alea.gnuu.de>; Thu, 6 Oct 2005 02:59:10 +0200 (MET DST)
Received: from projects.sourceforge.net (sc8-sf-list2-b.sourceforge.net [10.3.1.8])
	by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTP
	id 78B9B88C3D; Wed,  5 Oct 2005 17:59:09 -0700 (PDT)
Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net)
	by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30)
	id 1ENK4a-0002mF-TP
	for openzaurus-users@lists.sourceforge.net; Wed, 05 Oct 2005 17:57:24 -0700
Received: from smtp.fusemail.net ([69.31.1.141] helo=fuse1.mailanyone.net)
	by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.44)
	id 1ENK4Z-0005fw-Rw
	for openzaurus-users@lists.sourceforge.net; Wed, 05 Oct 2005 17:57:25 -0700
Received: from mailanyone.net
	by fuse1.mailanyone.net with asmtp (MailAnyone extSMTP)
	id 1ENK4M-0002CT-DO
	for openzaurus-users@lists.sourceforge.net; Wed, 05 Oct 2005 19:57:10 -0500
Message-ID: <43447669.8030409@fusemail.com>
From: Daniel Steen <dsteen@fusemail.com>
Reply-To: daniel@steen-family.com
User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: openzaurus-users@lists.sourceforge.net
Subject: Re: [Openzaurus-users] mkfs.ext2 not found
References: <433C9221.3080404@hotmail.com> <20050930071700.GA19322@assata>	 <BAY103-DAV13290AD8005AB49B02963BD8F0@phx.gbl>	 <200509301049.43462.john@jolet.net>	 <BAY103-DAV5114E8E72A683139A2213BD8E0@phx.gbl>	 <BAY103-DAV15DE0BDCD3D1373AF80D7DBD800@phx.gbl> <432beae0510031548n5203c023l7ce72670b0832802@mail.gmail.com>
In-Reply-To: <432beae0510031548n5203c023l7ce72670b0832802@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001
	1.0 FORGED_RCVD_HELO       Received: contains a forged HELO
	-0.5 AWL                    AWL: From: address is in the auto white-list
Sender: openzaurus-users-admin@lists.sourceforge.net
Errors-To: openzaurus-users-admin@lists.sourceforge.net
X-BeenThere: openzaurus-users@lists.sourceforge.net
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/openzaurus-users>,
	<mailto:openzaurus-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Id: <openzaurus-users.lists.sourceforge.net>
List-Post: <mailto:openzaurus-users@lists.sourceforge.net>
List-Help: <mailto:openzaurus-users-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openzaurus-users>,
	<mailto:openzaurus-users-request@lists.sourceforge.net?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=openzaurus-users>
Date: Wed, 05 Oct 2005 20:57:13 -0400

As an additional note the "sync" mounting of the sd card is very 
important for filesystem stability.  Some cards will not need it, but 
those that do will see SERIOUS corruption very quickly if it is not enabled.

-Dan

Justin Patrin wrote:

>On 10/3/05, Mark S Jones <msjones773@hotmail.com> wrote:
>  
>
>>So far my zaurus seems to be working ok with my root pivoted to sd. I
>>have a question though. Right now I have a 256 mg SanDisk sd card
>>formatted ext2 with my 150mg image on it. I was hoping to use the
>>remaining 100mg for files, but when I write to /media/card, it seems to
>>take forever and the back of the unit gets very warm. Is this normal?
>>Does the image file affect the way files write to the sd now?
>>Mark
>>    
>>
>
>It's possible. Your SD card is probably mounted "sync" which means
>that it does filesystem operations *as you do them*. This slows down
>throughput. Your image, however, should be mounted async, which speeds
>things back up. Things wait to be written to the image, then when
>they're written to the image they go on the card right away.
>Writing/reading directly to the card will be slow.
>
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Openzaurus-users mailing list
Openzaurus-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openzaurus-users


__EOF__

rm -r $TMP
