delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/12/07:01:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:mime-version
:content-type; q=dns; s=default; b=d/olm2bgk0vq4wy//tw9o2c3Jg6NC
GBOvXSqJTy9ADhoTHlF6iX50q35t2OU6wYmhvww+l75WkPN/6k9Voorybty06gZz
mZHLSsIKYTi4hArJ61wV0B0SjQBBL2rwudont2u+2yEEMjhLDRK2HCJVF5kNfhLM
HQFfKHyErIsKYs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:mime-version
:content-type; s=default; bh=pomjwDJXp0HmRjxIYmyQpOLksHw=; b=sZc
deswwPW+/Xyc+c1kwFH3SVj6ZkkdOjTwZlxiNssfrXinMAacJYgTHK8MhoJQPpg/
vuidysjh0P0jN19FgPT4/t5RbUElZbaANfm5ki0CugPtuZdAwfst7BPivuLGjYWJ
zT+rjnwL34Yg0b06kDWeSGQ2mg6n7r725SOjeOfY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 spammy=E-Mail, EMail, shutdown, tel
X-HELO: smtp02.belwue.de
Date: Thu, 12 Dec 2019 13:00:41 +0100
From: Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de>
To: cygwin AT cygwin DOT com
Subject: non-persistant storage?
Message-ID: <20191212120041.GA7699@tik.uni-stuttgart.de>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

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

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher AT tik DOT uni-stuttgart DOT de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20191212120041 DOT GA7699 AT tik DOT uni-stuttgart DOT de>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019