*BSD News Article 62092


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!newsfeed.internetmci.com!inet-nntp-gw-1.us.oracle.com!news.caldera.com!news.cc.utah.edu!park.uvsc.edu!usenet
From: Terry Lambert <terry@lambert.org>
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 22:25:53 GMT
Organization: Utah Valley State College, Orem, Utah
Lines: 35
Message-ID: <4giqhh$a9d@park.uvsc.edu>
References: <4ggc9k$kbv@park.uvsc.edu> <4ggj2f$mej@park.uvsc.edu> <4ggo5v$mon@park.uvsc.edu> <4gic4k$6rt@park.uvsc.edu> <4giku8$7k8@park.uvsc.edu>
NNTP-Posting-Host: hecate.artisoft.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:14303 comp.os.linux.development.system:17937

Sorry to follow myself up... I have a correction:


Terry Lambert <terry@lambert.org> wrote:
] mday@park.uvsc.edu (Matt Day) wrote:

[ ... ]

] BSD also does a sync update of the directory change time in the
] directory inode.  It was this "metadata", not the directory
] entry itself, to which I was referring when I said this was an
] unnecessary overhead.

Well.

Don't I feel silly.

After some offline prompting, I checked the code path for an
unlink, and it looks like FreeBSD doesn't do the change time
update on the directory inode synchronously.

I think this is probably in violation of POSIX semantic
requirements (else why make the distinction in the standard
between "shall be updated" and "shall be marked for update"?).
Nevertheless, the extra overhead I described is apparently
limited to the SVR4 UFS implementation.

Please ignore the "three" vs. "two" argument.


                                        Terry Lambert
                                        terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.