Sparse file support for SMB by default? Re: Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-06 Thread Cedric Blancher via Cygwin
On Fri, 1 Dec 2023 at 11:43, Corinna Vinschen via Cygwin wrote: > > On Dec 1 11:12, Cedric Blancher via Cygwin wrote: > > Good morning! > > > > Small comment about 3.5.0 commit "Cygwin: sparse support: enable > > automatic sparsifying of files on SSDs" > > https://cygwin.com/git/?p=newlib-cygwin.

Re: Sparse file support for SMB by default? Re: Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-06 Thread Corinna Vinschen via Cygwin
On Dec 6 09:49, Cedric Blancher via Cygwin wrote: > On Fri, 1 Dec 2023 at 11:43, Corinna Vinschen via Cygwin > VMware emulates NVME SSD these days, so this should work, yes? It doesn't matter, see below. > Primary concern is how to detect whether sparse file support is ON in > Cygwin for a speci

Re: Sparse file support for SMB by default? Re: Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-06 Thread Corinna Vinschen via Cygwin
On Dec 6 10:38, Corinna Vinschen via Cygwin wrote: > Again, the filesystem doesn't matter. It either sets the > FILE_SUPPORTS_SPARSE_FILES flag or not, as simple as that. > > If it does, you can create sparse files with chattr +S, or you can rely > on the lseek/ftruncate/posix_fallocate automati

Re: Cygwin fails to create sockets correctly

2023-12-06 Thread Uwe F. Mayer via Cygwin
I found that if I start X or an ssh agent, and then manually set the system attribute on the socket file with something like (cd /tmp/.X11-unix/ && attrib +s X0) or (cd /tmp/ssh-gjJq8mINCmz0 && attrib +s agent.3145) then things work fine as far as X windows and ssh-agent are concerned. That mea

Re: Sparse file support for SMB by default? Re: Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-06 Thread Shaddy Baddah via Cygwin
Hi Corinna, On 6/12/2023 8:38 pm, Corinna Vinschen via Cygwin wrote: If you want to see if a filesystem supports that flag, just use the /usr/lib/csih/getVolInfo tool: $ /usr/lib/csih/getVolInfo . Device Type: 7 Characteristics: 20020 Volume Name: Serial Num