This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: non-persistant storage?
- From: Eliot Moss <moss at cs dot umass dot edu>
- To: cygwin at cygwin dot com
- Date: Thu, 12 Dec 2019 14:18:54 -0500
- Subject: Re: non-persistant storage?
- References: <20191212120041.GA7699@tik.uni-stuttgart.de>
- Reply-to: moss at cs dot umass dot edu
On 12/12/2019 7:00 AM, Ulli Horlacher wrote:
I need to store some data (a few kB) non-persistant.
On a real UNIX I would use /var/run, because after a shutdown all its
content is lost.
But on cygwin /var/run is stored on disk.
I cannot use an environment variable, because different processes need to
read/write the data.
/proc is non-persistant (in respect to a reboot), but It is not a generic
storage place.
What can I use with cygwin instead?
Installing third party software is not an option, it must work with a
standard Windows (and cygwin).
I would think of temp directories, such as /tmp. They can be cleaned out at will
on restart, no?
Regards - Eliot
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple