Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!usenet.hana.nm.kr!usenet.seri.re.kr!news.imnet.ad.jp!wnoc-tyo-news!wnoc-sfc-news!kogwy!hosokawa From: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi) Newsgroups: comp.unix.bsd.freebsd.misc,comp.os.linux.development.system Subject: Re: The better (more suitable)Unix?? FreeBSD or Linux Date: 11 Feb 1996 16:07:36 GMT Organization: Tokoro Laboratory, Keio University, Yokohama Japan. Lines: 27 Message-ID: <4fl488$oqi@kogwy.cc.keio.ac.jp> References: <4er9hp$5ng@orb.direct.ca> <4f27sc$13a@dyson.iquest.net> <4f4c78$dsb@aurora.romoidoy.com> <strenDMBHHo.311@netcom.com> <hpa.31167ef4.I.use.Linux@freya.yggdrasil.com> <4fdupc$e36@news1.wing.net> <4fiq4k$if8@josie.abo.fi> NNTP-Posting-Host: remington.mt.cs.keio.ac.jp Dnas-Posting-Host: leinlein.mt.cs.keio.ac.jp X-Newsreader: gn + gnspool [Version 1.31 OCT.1,1994 (Unix)] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:14059 comp.os.linux.development.system:17658 In article <4fiq4k$if8@josie.abo.fi> mandtbac@news.abo.fi writes: >> - BSD writes metadata synchronously, but data asynch. thus, if the >> box goes down while data is not yet written, you end up with files >> that seem, to the filesystem, OK, whereas they're really garbage. I have two questions about this sync/async problems (I don't have detailed knowledge about filesystem). If the 'sync' operation on async filesystem is done in order of the original write requests was issued, it's safe. But I think it reduces the performance of filesystem. If it is done in unordered fashion, I think it causes the same (but more critical) problems on async filesystem. Is it wrong? BTW, I've used BSD filesystem for years, I haven't see the dead file's garbage appeared as another file even after severe crashes (I'm a device driver writer of FreeBSD and I frequently experience unclean shutdowns). I've thought that these premature files are truncated by fsck. Is it wrong? -- HOSOKAWA, Tatsumi E-mail: hosokawa@mt.cs.keio.ac.jp WWW homepage: http://www.mt.cs.keio.ac.jp/person/hosokawa.html Department of Computer Science, Keio University, Yokohama, Japan