1. go to a mount point under the fs
2. dd if=/dev/null of=rubbish
3. rm rubbish
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.
1. go to a mount point under the fs
2. dd if=/dev/null of=rubbish
3. rm rubbish
Worked like a charm. Got the image size down to 640 megs.
Thanks

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY
$10.00
Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99
DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$66.00
Dell Wyse 5070 Thin Client Pentium J5005 8GB RAM 128GB SSD w/Power Win 10 LTSC
$62.00
RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00
Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99
Corsair Vengeance RGB Pro 64GB (2x32GB) DDR4-3600 DIMM RGB CMW64GX4M2D3600C18
$350.00
Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00
Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99
Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$43.00