On Tue, 16 Aug 2005, Jesse Off wrote:
> IIRC, EXT3 implements a meta-data journal that should guarantee that
> the filesystem doesn't trash itself, but you can still end up
> loosing bits of the files that were being written to at time of the
> unclean shutdown. I know EXT2/EXT3 correctly honor the 'sync' flag,
> which if used should reduce (but not eliminate) your chances of
> filesystem corruption by an order of magnitude. The only time your
> filesystem is vulnerable to corruption on unclean shutdown is when a
> process is writing to a file.
The general purpose journaling file systems (Reiserfs/ext3/xfs) are very
heavy on writes to the media [1] - which is a pig for flash. If you go
this way your flash media may wear out a lot more quickly than you'd
expect.
> You may also have complications with Linux in that you may not just
> arbitrarily unplug the USB device from a running system where it has
> been mounted. It first has to be unmounted from software before
> being unplugged.
>
> //Jesse Off
>
Jim
[1] I believe on ext3 there are at least 3 writes to what would be 1 ext2
write - one to write the journal entry, one to update the actually file,
then the deletion of the journal entry.
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12h5seq0c/M=362329.6886308.7839368.1510227/D=groups/S=1705005378:TM/Y=YAHOO/EXP=1124215950/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|