[Pkg-privacy-commits] [tails-installer] 23/40: dd optimizations
    anonym 
    anonym-tails-guest at moszumanska.debian.org
       
    Thu Jan 12 15:15:02 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.1
in repository tails-installer.
commit b29e920cbe8b054bd7a1828caf6f18c6077f1bfa
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