From: Jean-Pierre <jea...@wa...> - 2013-07-15 10:52:44
|
Hi, Johannes Müller wrote: > Hi, > > On 04.06.2013 11:32, Jean-Pierre wrote: >> Maybe fsx : http://codemonkey.org.uk/projects/fsx/samba-fsx.c > > The first error hinted at an implementation issue of truncate. The tool > expects truncate to be able to extend a file to a larger size. > I am not quite sure if this is standard behaviour, even though the tool > claims in the error message, that my fs is not posix compatible. From http://pubs.opengroup.org/onlinepubs/000095399/functions/truncate.html "The truncate() function shall cause the regular file named by path to have a size which shall be equal to length bytes. If the file previously was larger than length, the extra data is discarded. If the file was previously shorter than length, its size is increased, and the extended area appears as if it were zero-filled" > After fixing this, I get the following message: > Jean-Pierre |