Results 1 to 3 of 3

Thread: Write zeros to empty space.

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949

    Write zeros to empty space.

    Is there some way to write all 0's to the empty space on my ext3 partition. Tis isn't for security but rahter for compression. When I made an image of the parttion it was 3.2 gigs compressed. But only 1.4 gigs are acually used. The rest is ghost data from files long gone that the OS can ignore but not the compression. Which means if I were able to write zeros on all the free space, the compressed size would decrease dramaticly.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    1. go to a mount point under the fs
    2. dd if=/dev/null of=rubbish
    3. rm rubbish

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Worked like a charm. Got the image size down to 640 megs.

    Thanks

Similar Threads

  1. dpkg - warning: while removing ..........not empty so not...
    By drabo in forum Customising & Remastering
    Replies: 2
    Last Post: 09-05-2005, 07:52 PM
  2. Empty hard drive install
    By shawgo in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-24-2005, 11:07 AM
  3. Knoppix 3.6 on HD ok, but why SYSLOG is empty ???
    By iw5dxh in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-31-2004, 11:01 PM
  4. Apt-get -> empty program menu
    By Blether in forum General Support
    Replies: 4
    Last Post: 06-22-2004, 01:13 AM
  5. printing: only empty pages...
    By Idletask in forum General Support
    Replies: 0
    Last Post: 01-09-2004, 01:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN picture

WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN

$59.99



N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY) picture

N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY)

$389.95



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



SAMSUNG 6.4TB SSD NVMe PCIe 3.0 MU HHHL PM1725B MZ-PLL6T4C FW2K0 picture

SAMSUNG 6.4TB SSD NVMe PCIe 3.0 MU HHHL PM1725B MZ-PLL6T4C FW2K0

$599.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT

$19.99



M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11 picture

M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11

$85.25



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99