non-persistent storage?

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Dec 16 19:31:00 GMT 2019


On Dec 13 10:34, Ulli Horlacher wrote:
> On Fri 2019-12-13 (07:27), Jürgen Wagner wrote:
> > And regarding the tmpfs (RAM disk) , you can use /dev/shm.
> > 
> > # date > /dev/shm/key
> > # cat /dev/shm/key
> > Fri Dec 13 07:26:03 CET 2019
> 
> /dev/shm ist not a tmpfs on cygwin:
> 
> /dev/shm: df -TH /dev/shm
> Filesystem     Type  Size  Used Avail Use% Mounted on
> C:/cygwin64    ntfs   34G   25G  9.1G  74% /
> 
> When I write something into this direcory and reboot, it is still there.

...unless you open the file with the O_TMPFILE flag as outlined
in my other reply.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20191216/91cf441a/attachment.sig>


More information about the Cygwin mailing list