[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



I do not really care about the data written to flash.  I just do not
want to have to clean the darn thing each time.  Its mostly for log
files.

On Wed, 2004-01-21 at 14:16, Stephan Uphoff wrote:
> You might also want to disable write caching on the ide drive.
> This will probably kill your write speed and is rumored to shorten the
> lifespan of the drive.
> However all filesystems (journaled or not) depend on ordered writes
> for file system integrity.
> Write buffering reorders writes and can on power failure (unplug)
> leave the filesystem in a state not expected by the recovery tools. (fsck)
> 
> You might also get an unreadable sector if you unplug the drive while it is 
> writing
> ... but there is nothing you can do about it.
>  
> 	Stephan
> 
> > I thought there was away you could tell the kernel to send stuff
> > directly to disk and not buffer it.
> > 
> > On Wed, 2004-01-21 at 11:48, James P. Kinney III wrote:
> > > Ext3 would be a better bet than ext2. The important thing would be a
> > > tweak to somehow force frequent sync to avoid file corruption. I don't
> > > think that is an hdparm setting. Maybe it could be a cron job
> > > 
> > > if { `grep -c "/dev/sda" /etc/mtab` != 0 }; then
> > > sync
> > > fi
> > > 
> > > (I wouldn't trust that script with anything as I am sure the syntax is
> > > wrong)
> > > 
> > > On Wed, 2004-01-21 at 10:54, Christopher Fowler wrote:
> > > > The next question would be how to best deal with file systems of this
> > > > nature.  Since anyone could unplug the drive ext2 would not be a good
> > > > choice.  Would ext3 be a good choice?  I want to be able to unplug and
> > > > plug the device back in without fs corruption.
> > > > 
> > > > On Wed, 2004-01-21 at 10:43, James P. Kinney III wrote:
> > > > > _______________________________________________
> > > > > Ale mailing list
> > > > > Ale at ale.org
&gt; &gt; &gt; &gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; Ale mailing list
&gt; &gt; &gt; &gt; Ale at ale.org
&gt; &gt; &gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt; 
&gt; &gt; _______________________________________________
&gt; &gt; Ale mailing list
&gt; &gt; Ale at ale.org
&gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt; 
&gt; 


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00860" href="msg00860.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> ups at stups.com (Stephan Uphoff)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00866.html">[ale] cameras, sbc's and linux oh my!</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00868.html">[ale] USB-&gt;IDE problems</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00860.html">[ale] USB-&gt;IDE problems</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00870.html">[ale] USB-&gt;IDE problems</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00867"><strong>Date</strong></a></li>
<li><a href="threads.html#00867"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>