AW: AW: dd killed with USR1 right after ftruncate()
From:
Voelker, Bernhard
Subject:
AW: AW: dd killed with USR1 right after ftruncate()
Date:
Thu, 13 Aug 2009 15:22:51 +0200
PƔdraig wrote:
> Yep I think so. Moving just the install_signal_handlers() to the top,
can we expect this to happen in one of the next releases?
> p.s. I'm still unsure as to why open(O_TRUNC) takes "a while".
> Perhaps there is a trunc=paranoid mount option I'm unaware of
> that actually writes zeros when truncating a file.
I guess this depends on the filesystem type. E.g. on another Solaris10
box with UFS `dd if=/dev/zero of=$HOME/x bs=1G count=10` takes
a rather good ~1.5min while the subsequent open(O_TRUNC) then
takes ~6sec. I don't think zeroes are written there ;-)
Thank you & have a nice day,
Berny