*BSD News Article 61989


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!usenet.eel.ufl.edu!news.uoregon.edu!kaiwan.kaiwan.com!pell.pell.chi.il.us!there.is.no.cabal
From: orc@pell.chi.il.us (Orc)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.os.linux.development.system
Subject: Re: The better (more suitable)Unix?? FreeBSD or Linux
Date: 22 Feb 1996 14:08:47 -0800
Organization: The Deacon Brodie Fan Club
Lines: 27
Message-ID: <4giphf$4hg@pell.pell.chi.il.us>
References: <4er9hp$5ng@orb.direct.ca> <4g33tp$esr@park.uvsc.edu> <4g57cj$gc3@pell.pell.chi.il.us> <4g78aa$91a@comma.rhein.de>
NNTP-Posting-Host: pell.pell.chi.il.us
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:14228 comp.os.linux.development.system:17848

In article <4g78aa$91a@comma.rhein.de>,
Michael van Elst <mlelstv@comma.rhein.de> wrote:
>In <4g57cj$gc3@pell.pell.chi.il.us> orc@pell.chi.il.us (Orc) writes:
>
>>   But alternatively, one might wonder what's the point of writing
>>the metadata unless you're also writing the data that the metadata
>>is pointing to. [...] What's the
>>difference whether it's written out by religious mandate or by the
>>elevator passing by that floor.
>
>It makes sure that the meta-data is written in the correct order.

   But, aside from being a mechanism to make fsck run faster, I
don't see what that wins.  If the metadata is correct but the data
under it isn't, it runs the potential of actually doing harm to
your system (though, as a point of note, I _finally had the ext2fs
generate a file with garbage in it; I had a _really fun SCSI crash
this morning and it had successfully updated the metadata for
/var/adm/syslog, but didn't get around to writing the new data block.
The result? 1k of ^@ and ^A's at the end of my syslog.  It was nice
that the filesystem was okay, but I would have rather have had the
data written before the metadata) or causing confusion where it
shouldn't.

                 ____
   david parsons \bi/ orc@pell.chi.il.us
                  \/