X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=twyqCyzD2ODUCFSoDO6QeDGCNqrVrPP1BYiodT6sWzf
	H0hH2n5I4v6xz3OvoCFRxwiRpQTl1tVhsM1sIKv16/GZT2l2mObdy7zzJlYr6Vvo
	LqWaUPjQU/8DRygFdoYI5IeIIRwylaWhnxTSXQOBhzOSWymRuWbDao/RT0+F/3vo
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=9WiIKvI8KiU23wIrQF+9HaoadYY=; b=F4qaKXLH1q5ScVOGV
	4gZwjC0vY/SilmG8KoZ0XdhijgQuCE9IrLqE1yRNh9gEPVnhGH091vKB+rAoHnfc
	+9kfr35Nnr9CcG/emh+KphLjoPecnEP4ACpBwjNIqkr7bm92f8AfQxYvpj+wEgGW
	YTxARtXHPRG6I6PN6UB5HktLiU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,SPF_PASS autolearn=ham version=3.3.1 spammy=Easiest
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5DF2E42A.7020200@tlinx.org>
Date: Thu, 12 Dec 2019 17:06:50 -0800
From: L A Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: non-persistant storage?
References: <20191212120041.GA7699@tik.uni-stuttgart.de> <8905c7b6-b2e6-52bf-bcdd-66890db91e9e@cs.umass.edu> <20191212212746.GA12864@tik.uni-stuttgart.de> <d6cd4cb8-cb75-a86d-46ac-c70f8bc73a5f@cs.umass.edu>
In-Reply-To: <d6cd4cb8-cb75-a86d-46ac-c70f8bc73a5f@cs.umass.edu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2019/12/12 13:40, Eliot Moss wrote:
> Ah!  I think what you want is a tmpfs or ramfs.
> Not sure if cygwin supports that ...
>   
----
    Easiest thing might be to use /dev/shm. I used it during
development to store intermediate data that was later to be
transfered via a fifo...

Basically check for existence of "/dev/shm" (exists on my cygwin).
if "tmp" didn't already exist, create it w/options similar to
/tmp (only owner can delete/edit):

mkdir -m 1777 /tmp/shm/tmp


**Warning, "writes" to /dev/shm/tmp (or /dev/mem) can fill up
your system's memory, so its only good for "small files"
(small being well under your system's free memory amount).


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

