From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57079 invoked by alias); 13 Dec 2019 07:25:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 57069 invoked by uid 89); 13 Dec 2019 07:25:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=100GB, 100gb, measured, communication X-HELO: Ishtar.sc.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Dec 2019 07:25:28 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id xBD7PMLT096817 for ; Thu, 12 Dec 2019 23:25:25 -0800 Message-ID: <5DF33CE2.8020407@tlinx.org> Date: Fri, 13 Dec 2019 09:34:00 -0000 From: L A Walsh 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> <5DF2E42A.7020200@tlinx.org> <5a2a2640-112e-adbf-7f7a-d599b086d3cd@SystematicSw.ab.ca> In-Reply-To: <5a2a2640-112e-adbf-7f7a-d599b086d3cd@SystematicSw.ab.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00097.txt.bz2 On 2019/12/12 22:26, Brian Inglis wrote: > > > I've been using /run, with /var/run as a symlink to that, created in a permanent > postinstall script /etc/postinstall/zp_mk_run_var_links.dash (with some others), > for some time. It's currently using ~28KB. > > Is it feasible to mount /run on say /dev/shm/run and create and use files there? > I don't see why you would need to change what you are doing unless your application whines about the symlink. I.e. VirtualBox didn't like me using a symlink in /opt to /home/opt on linux, so I mounted it w/a line in fstab. /home/opt /opt none rbind 0 0 > Or would it be more feasible to use say Cyg/WinFUSE to provide that function? > I don't know the state of cyg's support in those areas, so if you were forced to change, you'd get to do your own testing to see what worked, etc. I went one further under 'run' and 'tmp' -- I left those as public directories and put my UID or login name as my own directory under the common name. yeah 28k is nothing. I was using files measured in MBytes though the [server] system has over 100GB mem. The communication goes through unix-sockets, which also goes through /dev/shm, but its cleanup is technically the responsibility of the OS, so, if lucky -- it cleans it up, if not, no worse off than before. I don't run many OS progs on my Win machine cuz Win tended to flake out in running tasks and wouldn't say anything when it went wrong. So now, I just have a cronjobs on my linux server that use ssh to login to run jobs on windows... -- 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