<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 04/04/2014 18:12, VIDAL, Thomas
(Bioversity-France) a écrit :<br>
</div>
<blockquote cite="mid:533ED9E1.6050805@cgiar.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I will try Diaolin solution with zero.file.<br>
I will let you know on monday.<br>
<br>
Thanks in all the cases<br>
<br>
Thomas<br>
</blockquote>
<br>
For information, the package zerofree handle that case better than
filing the whole filesystem with a file.<br>
<br>
# LANG=C aptitude show zerofree<br>
Package: zerofree <br>
New: yes<br>
State: not installed<br>
Version: 1.0.2-1<br>
Priority: extra<br>
Section: admin<br>
Maintainer: Thibaut Paumard <a class="moz-txt-link-rfc2396E" href="mailto:paumard@users.sourceforge.net"><paumard@users.sourceforge.net></a><br>
Architecture: amd64<br>
Uncompressed Size: 14.3 k<br>
Depends: e2fslibs (>= 1.37), libc6 (>= 2.3.4)<br>
Description: zero free blocks from ext2, ext3 and ext4 file-systems<br>
Zerofree finds the unallocated blocks with non-zero value content
in an ext2, ext3 or ext4 file-system and fills them with zeroes
(zerofree can also work with another value<br>
than zero). This is mostly useful if the device on which this
file-system resides is a disk image. In this case, depending on the
type of disk image, a secondary utility may<br>
be able to reduce the size of the disk image after zerofree has
been run. Zerofree requires the file-system to be unmounted or
mounted read-only. <br>
<br>
The usual way to achieve the same result (zeroing the unused
blocks) is to run "dd" do create a file full of zeroes that takes up
the entire free space on the drive, and then<br>
delete this file. This has many disadvantages, which zerofree
alleviates: <br>
* it is slow; <br>
* it makes the disk image (temporarily) grow to its maximal extent;
<br>
* it (temporarily) uses all free space on the disk, so other
concurrent write actions may fail. <br>
<br>
Zerofree has been written to be run from GNU/Linux systems
installed as guest OSes inside a virtual machine. If this is not
your case, you almost certainly don't need this<br>
package. (One other use case would be to erase sensitive data a
little bit more securely than with a simple "rm").<br>
Homepage: <a class="moz-txt-link-freetext" href="http://intgat.tigress.co.uk/rmy/uml/index.html">http://intgat.tigress.co.uk/rmy/uml/index.html</a><br>
<br>
</body>
</html>