On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote:
Good morning!

rm -f myfile
touch myfile
/usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5
                             ^ length goes here, before filename

I believe you need to
    chattr +S myfile
after the 'touch' to make the file sparsifiable.

Also, I'm unsure if '-d' makes sense when initially allocating a sparse file. If I leave it off, fallocate does the right thing.

I'm separately investigating the 'takes forever' report.

..mark


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to