delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/12/17:57:59

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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=BxvFaHR
hWQYIK5b1UGgZn1+lmTYCM2oiWI7Wz4m8x42UNqPH9toIbwRRrkcQSxJE9MAcJ+g
KUrgNMlSo7SM9rufDXPYjTVAZsFTto3J4qIrg/O7lH7VSGZJ+GU3wZ62UWpzegxA
pD8s30LSm0eEBdQS85lFQZ4CtdXPp+g9HUjY=
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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=KNOQQYbScwMaA
fMAvnHZVRHFUp8=; b=LjaSjp7kIe+GmLNMUcuipo625aUmHrhOwZdADQVYNLMmU
Kn4D9hQGPHV0kg7CmEMEUmcsJMm3FE0PJXoRzKMi8Q7u9fcel9NdyhPKlZJ1Eorb
/vgc6m4EHgKNoerxILNl/LLjmjRq7nYr2Xzj+ZXwaGmEbQ41VFj25tMm8KUdPM=
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.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: mail-wm1-f43.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=r8fMb1x1F3Y7Ux2gYj6Ed1ggUxg0yWsfDyt5z61mG1o=; b=Vfk5ShMqCqUr1aSUeZPEQ+GveUF9grqLdcBP7lY2SfxPPaZ8EEC2YLfCIgl50b4qPD 1VYTupFQsJgVQXtTqahm3Hcu0nST6IHpR8ISj2f5PzpO2kECmnC/xO1ecsHCTauGozKx svcGdfkGZvMXrxG4MrucITT6wp0b3z/RDPUH4djUV30Nz+8a/P7N92bcFA7LQIBU+f2j 5WE7b7phdxcb9qQ+Yaja9Oqw6tCsK7St5Nkw2eEvG1DNYHYAR78r8s+7NO1E6fdB0pD9 77Euhk/vdh+Ml9J22FIliIHnp5fAGyfGrT6+PAUGtPRrhfDhkpzb82LlPqoPoBduQYZo sQ8A==
MIME-Version: 1.0
References: <BYAPR09MB29010912EBAE9D8F0196D35E9B550 AT BYAPR09MB2901 DOT namprd09 DOT prod DOT outlook DOT com> <20191212220749 DOT GB12864 AT tik DOT uni-stuttgart DOT de> <CACoZoo1crFaE0ZHBVZaps+F93MyX1c4MN5-5awJ=jFmEAE2vnA AT mail DOT gmail DOT com>
In-Reply-To: <CACoZoo1crFaE0ZHBVZaps+F93MyX1c4MN5-5awJ=jFmEAE2vnA@mail.gmail.com>
From: Erik Soderquist <ErikSoderquist AT gmail DOT com>
Date: Thu, 12 Dec 2019 17:56:52 -0500
Message-ID: <CACoZoo17+wyDBAfUvB0kmHMT1W9LzqxWekDrzGAQ0Uc3AdaR1w@mail.gmail.com>
Subject: Re: non-persistent storage?
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

On Thu, Dec 12, 2019 at 5:45 PM Erik Soderquist wrote:
> This is very hacky, but I believe you can get the effect you want by
> having an admin process auto-start at host startup, identify itself,
> and then set parts of its own /proc/ process ID tree as world
> read/write.  I think this will give you the "destroyed even at power
> failure" impermanence you are l,booking for.  I know it is not in the
> normal layouts (like /var/run/ would be), but we are working around
> limitation s imposed by Windows.

To "move"to /var/run/, the process could also build symlinks to the
location(s) in /proc/ so the other programs/users have a stable
/var/run/ location and only the auto-started process needs to know or
care about the locations in /proc/

-- Erik

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