Sha256: cc23a5fd9741e16d154a287bc033661a97c224a3c349380ffa46a225c2a2284b

Contents?: true

Size: 316 Bytes

Versions: 5

Compression:

Stored size: 316 Bytes

Contents

#!/bin/bash
source /etc/profile

# fill all free hdd space with zeros
dd if=/dev/zero of="$chroot/boot/EMPTY" bs=1M
rm "$chroot/boot/EMPTY"

dd if=/dev/zero of="$chroot/EMPTY" bs=1M
rm "$chroot/EMPTY"

# fill all swap space with zeros and recreate swap
swapoff /dev/sda3
shred -n 0 -z /dev/sda3
mkswap /dev/sda3
exit

Version data entries

5 entries across 3 versions & 2 rubygems

Version Path
veewee-0.3.10 templates/gentoo-latest-i686/zerodisk.sh
veewee-0.3.9 templates/gentoo-latest-amd64/zerodisk.sh
veewee-0.3.9 templates/gentoo-latest-i686/zerodisk.sh
veewee-atlassian-0.3.11 templates/gentoo-latest-i686-experimental/zerodisk.sh
veewee-atlassian-0.3.11 templates/gentoo-latest-x86_64-experimental/zerodisk.sh