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?

2024-01-08 Thread Corinna Vinschen via Cygwin
On Dec 18 12:10, Cedric Blancher via Cygwin wrote: > On Wed, 6 Dec 2023 at 10:39, Corinna Vinschen via Cygwin > wrote: > > Basically, with 3.4, you always have to set the "sparse" mount option, > > with 3.5, on local SSDs you don't. I don't see a problem here. > > How can I remount the existing

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-18 Thread Cedric Blancher via Cygwin
On Wed, 6 Dec 2023 at 10:39, Corinna Vinschen via Cygwin wrote: > > 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 con

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-07 Thread Corinna Vinschen via Cygwin
On Dec 7 17:42, Shaddy Baddah via Cygwin wrote: > 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

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

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

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: Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-01 Thread Corinna Vinschen via Cygwin
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.git;a=commit;h=832e91422c4ae9b2dcd0c307779f3dd53ee9c0ac > > Can this function

Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-01 Thread Cedric Blancher via Cygwin
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.git;a=commit;h=832e91422c4ae9b2dcd0c307779f3dd53ee9c0ac Can this functionality be extended to VMware and QEMU virtual disks, please? Also