#!/bin/sh # packInitrd 0.1 # uwe.gansert@suse.de # # creates an initrd of the actual directory # usage: packInitrd find . | cpio -H newc -o > /tmp/initrd.img gzip -c /tmp/initrd.img >/tmp/initrd cd /tmp ls -l initrd