[Pkg-privacy-commits] [tails-installer] 22/31: dd optimizations

anonym anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:14:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

anonym-tails-guest pushed a commit to annotated tag 3.13.0
in repository tails-installer.

commit 096f140c7e89ba0a42d7a373b38f2fa5f5307af7
Author: Luke Macken <lmacken at redhat.com>
Date:   Tue Nov 25 22:56:50 2014 -0700

    dd optimizations
---
 liveusb/creator.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index 962c701..bed9acc 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -445,8 +445,8 @@ class LiveUSBCreator(object):
             drive = parent
         else:
             drive = self.drive['device']
-        cmd = 'dd if="%s" of="%s" bs=1M' % (self.iso, drive)
-        self.log.info(_('Running') + ' %s' % cmd)
+        cmd = 'dd if="%s" of="%s" bs=1M iflag=direct oflag=dsync conv=fdatasync' % (self.iso, drive)
+        self.log.debug(_('Running') + ' %s' % cmd)
         self.popen(cmd)
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list