From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Atomic file creation
Date: Mon, 4 Jan 2010 14:38:00 -0800 (PST)
Date: 2010-01-04T14:38:00-08:00 [thread overview]
Message-ID: <c12b28dc-194b-4970-8d3f-ebbbea871011@q4g2000yqm.googlegroups.com> (raw)
In-Reply-To: ah7thh.khn.ln@hunter.axlog.fr
Jean-Pierre Rosen wrote:
> vlc a écrit :
>
> > On Jan 4, 4:52 pm, Jean-Pierre Rosen <ro...@adalog.fr> wrote:
> >> Maybe because temporary files have no names ;-)
>
> >> Kidding appart, in the old time when people still knew how to write
> >> operating systems, the notion of temporary file was supported by the OS,
> >> and those files had really no name (as opposed to a junk name in /var/tmp).
>
> > Well, they have names, are stored in in /tmp/ and still exist after
> > the call of Ada.Text_IO.Close in line 5. I actually checked this :-)
>
> I presume you are using some elementary OS like Unix, that fakes
> temporary files short of having true ones... But the implementation is
> free to behave as if they were true temporary files. This protects your
> portability (to VMS for example, sigh of nostalgia...)
http://www.circa.ufl.edu/handouts/vms/tempfile.html
suggests that (1) not all users of VMS know about nameless temporary
files and (2) VMS does allow one to create named temporary files.
Also I am wondering how VMS allows programs to communicate by means of
nameless temporary files (e.g. program A writes a large amount of data
in a new file and tells program B to process it and then delete the
file). Are the file names replaced with some kind of handle?
PS. VMS may be "non-elementary" but it is proprietary, ergo they have
something to hide, ergo I don't want it on *my* computer :)
--
Ludovic Brenta.
next prev parent reply other threads:[~2010-01-04 22:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 13:40 Atomic file creation vlc
2010-01-04 14:24 ` vlc
2010-01-04 15:52 ` Jean-Pierre Rosen
2010-01-04 16:45 ` vlc
2010-01-04 17:12 ` Jean-Pierre Rosen
2010-01-04 22:38 ` Ludovic Brenta [this message]
2010-01-04 23:00 ` Dmitry A. Kazakov
2010-01-05 9:15 ` Jacob Sparre Andersen
2010-01-05 4:16 ` Stephen Leake
2010-01-05 14:48 ` vlc
2010-01-09 15:23 ` Stephen Leake
2010-01-04 14:25 ` Georg Bauhaus
2010-01-04 14:45 ` vlc
2010-01-04 14:49 ` Jacob Sparre Andersen
2010-01-04 15:07 ` vlc
2010-01-04 17:14 ` Jacob Sparre Andersen
2010-01-05 14:43 ` vlc
2010-01-06 2:28 ` Brad Moore
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox