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:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=VB0i b8EazH/OtK2KIiJd+fIfdzBC8mPRcSYlNb1+baXwu6v6i+T1GZK+7nljWZuPVbch GsJ9JKhpT8SLnUexLyai/OVv4UE6H/2wx9Sg5/XVzFpp3evqQOnHRm2lk5SKhiBn NYl9L1USQAXe4kjZVEtRPqdVy4RgbNbkyOYyW98= 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:references :mime-version:content-type:in-reply-to; s=default; bh=LOmDloAQMw SNf5Zaq+Z7CScmAUs=; b=DfjUpmt24hIYzFos5VVGSb05fEwF7lSHSgXnts8kS1 6wxXF6UbxkEb0qIW8N7hMYEZmDxEN7Hgd5GrjGBikt32hEPSOfwBKt2Xg2Knj8uz XiPArsV/ybOf2TPpfCWBtJwUkeWPdQlUrCvN9Fop+zf+R4KfZGGakRNc+jl01/jo g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=tel, Tel X-HELO: smtp02.belwue.de Date: Thu, 12 Dec 2019 22:27:46 +0100 From: Ulli Horlacher To: cygwin AT cygwin DOT com Subject: Re: non-persistant storage? Message-ID: <20191212212746.GA12864@tik.uni-stuttgart.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <20191212120041 DOT GA7699 AT tik DOT uni-stuttgart DOT de> <8905c7b6-b2e6-52bf-bcdd-66890db91e9e AT cs DOT umass DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8905c7b6-b2e6-52bf-bcdd-66890db91e9e@cs.umass.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes 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 AT tik DOT uni-stuttgart DOT de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<8905c7b6-b2e6-52bf-bcdd-66890db91e9e AT cs DOT umass DOT 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