Workaround für netzpolitik.org – Feed unter Tiny Tiny RSS

Seit kurzer Zeit wird in der ttrss-Installation auf einem debian 6 (Squeeze) – System der Feed von netzpolitik.org nicht mehr aktualisiert. Stattdessen erscheint folgender Fehler:

Couldn’t download the specified URL: 35 error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

Continue reading “Workaround für netzpolitik.org – Feed unter Tiny Tiny RSS”

Script to duplicate most recent duplicity backups

Just added a script to github which takes care of duplicating the most recent duplicity backup files.

You can specify the amount of past backups runs. By default the last two full backups and their incrementals are copied, older files are automatically deleted (sliding window of most recent backups).

Use this script to add another level of redunancy in case that the main backup location fails.

The software, i.e. file naming conventions has been tested with duplicity version 0.6.13 (yes I know, quite old).

Continue reading “Script to duplicate most recent duplicity backups”

mke2fs und sparse files

Um ein SD-Kartenimage zu erstellen wird eine Sparse-Datei angelegt mit einer Größe von knapp 16 GB und darin verschiedene Dateisysteme angelegt:

dd if=/dev/zero of=$$IMAGE_FILE bs=1 count=0 seek=15900MB
 losetup /dev/loop0 $IMAGE_FILE
 {
    ...
    echo 6277120,,0x83
 } | sfdisk -u S -f --no-reread -L ${/dev/loop0}
 partprobe /dev/loop4
 mke2fs /dev/loop0p4

Im Gegensatz zu einer Nicht-Sparse-Datei bzw. einem physikalischen Datenträger bleibt der mke2fs-Vorgang nahezu vollständig stehen.

Continue reading “mke2fs und sparse files”