Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 18:20:54 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Don Lewis <Don.Lewis@tsc.tdk.com>
Cc:        Arun Sharma <adsharma@sharmas.dhs.org>, Peter Jeremy <peter.jeremy@alcatel.com.au>, hackers@FreeBSD.ORG, brian@hak.lan.Awfulhak.org
Subject:   Re: file creation times ? 
Message-ID:  <200005251720.SAA03455@hak.lan.Awfulhak.org>
In-Reply-To: Message from Don Lewis <Don.Lewis@tsc.tdk.com>  of "Thu, 25 May 2000 02:32:35 PDT." <200005250932.CAA20546@salsa.gv.tsc.tdk.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On May 24,  6:58pm, Arun Sharma wrote:
> } Subject: Re: file creation times ?
> } On Thu, May 25, 2000 at 11:03:38AM +1000, Peter Jeremy wrote:
> } > To put it another way, why _should_ FreeBSD store a file creation time?
> } 
> } 0. I'm tired of seeing people putting "Created: mm/dd/yy" in their documents.
> 
> When saving a document to "file", many editors will do the equivalent of
> 	save document to "file.new"
> 	ln "file" "file.bak"
> 	mv "file.new" "file"
[.....]

Such editors are broken.  What if the file is a symlink ?  IMHO 
open() write() write() write() ftruncate() close() is the only way.
-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005251720.SAA03455>