delorie.com/archives/browse.cgi | search |
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: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 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=-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 AT tlinx DOT org> |
User-Agent: | Thunderbird |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: non-persistant storage? |
References: | <20191212120041 DOT GA7699 AT tik DOT uni-stuttgart DOT de> <8905c7b6-b2e6-52bf-bcdd-66890db91e9e AT cs DOT umass DOT edu> <20191212212746 DOT GA12864 AT tik DOT uni-stuttgart DOT de> <d6cd4cb8-cb75-a86d-46ac-c70f8bc73a5f AT cs DOT umass DOT edu> |
In-Reply-To: | <d6cd4cb8-cb75-a86d-46ac-c70f8bc73a5f@cs.umass.edu> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |