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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=tvcHL0aP0u1zXgsZ BRPb56nwSVS94gDx0h4e7HCYarvbUvOmTOS0aDWuGqNMsb56/9lgKv6WNSlnypDN OYa8fRYNMJKYblN8gIy5CEDmyhoh7G5hNMYRGb/3HTx3Wo5NWansyRthhtHpznDw Ei4FPjAdwI2VIeltlO0LMYtv9Bs= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=mdiAepNv7CvjNsb/TsNrof vyFj4=; b=jpNLEK4TK5Ht8mz7bIfMQhmd7zh/LjEdEZq4hdV+YlBvkA3KFtbYa2 koKfDEBqSlmPZ79cr0zMrhBoU7BctaVFZNR9MP6D5EcRG16NZ/Z9JGS98BGjlTol TqJHtnuJxney71+W7s1x2LC60dDsjIqYfEhtDcqmiKKOLPciChMfY= 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=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=ulli, Ulli X-HELO: mailsrv.cs.umass.edu Reply-To: moss AT cs DOT umass DOT edu Subject: Re: non-persistant storage? To: cygwin AT cygwin DOT com References: <20191212120041 DOT GA7699 AT tik DOT uni-stuttgart DOT de> From: Eliot Moss Message-ID: <8905c7b6-b2e6-52bf-bcdd-66890db91e9e@cs.umass.edu> Date: Thu, 12 Dec 2019 14:18:54 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191212120041.GA7699@tik.uni-stuttgart.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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