This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: non-persistent storage?


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]