#!/bin/sh
echo ""

cd /

tar -cvjf /mnt/hda5/g2v_add_vdr.tar.bz2 --exclude=*.o --exclude=./usr/local/src/_div \
    ./usr/local/src

tar -cvjf /mnt/hda5/g2v_add_opt.tar.bz2 ./opt

tar -cvjf /mnt/hda5/g2v_add_kde.tar.bz2 ./usr/kde

tar -cvjf /mnt/hda5/g2v_add_x11.tar.bz2 ./usr/X11R6

tar -cvjf /mnt/hda5/g2v_opt_port.tar.bz2 --exclude=./usr/portage/distfiles --exclude=./usr/portage/packages ./usr/portage ./usr/local/gentoo-de

tar -cvjf /mnt/hda5/g2v_add_div.tar.bz2 --exclude=*.o --exclude=*.so \
    --exclude=*.a --exclude=*.so.* \
    ./usr/local/src/_div ./root/.subversion ./root/.cpan

echo "mkdev end"
echo ""
