public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: cygwin@cygwin.com
Subject: Re: non-persistant storage?
Date: Thu, 12 Dec 2019 21:40:00 -0000	[thread overview]
Message-ID: <20191212212746.GA12864@tik.uni-stuttgart.de> (raw)
In-Reply-To: <8905c7b6-b2e6-52bf-bcdd-66890db91e9e@cs.umass.edu>

On Thu 2019-12-12 (14:18), Eliot Moss 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 would think of temp directories, such as /tmp.  They can be cleaned out at will
> on restart, no?

The data MUST be lost on shutdown (or power failure), not on reboot!
Therefore it must be hold in memory, not on disk.

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<8905c7b6-b2e6-52bf-bcdd-66890db91e9e@cs.umass.edu>

--
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

  reply	other threads:[~2019-12-12 21:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-12 12:28 Ulli Horlacher
2019-12-12 21:27 ` Eliot Moss
2019-12-12 21:40   ` Ulli Horlacher [this message]
2019-12-12 21:59     ` Eliot Moss
2019-12-13  1:33       ` L A Walsh
2019-12-13  6:28         ` Brian Inglis
2019-12-13  9:34           ` L A Walsh
2019-12-13 10:06         ` Ulli Horlacher
2019-12-16 10:22 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191212212746.GA12864@tik.uni-stuttgart.de \
    --to=framstag@rus.uni-stuttgart.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).