i'm tinkering with rc.d and find this code.
Code: Select all
echo "$PASSPFILE" | losetup-FULL -e xor /dev/loop1 $HOMEDIR/$NAMEPFILE
Code: Select all
mkdir /part
dd if=/dev/zero of=/mnt/home/mypup003 bs=1k count=750000
echo "passwordkoto" | losetup-FULL -e xor /dev/loop2 /mnt/home/mypup003
mkfs -t ext2 /dev/loop2 750000
mount -t ext2 /dev/loop2 /part
other than the password thing, it does what it supposed to do... created a passworded mypup003 file (though i don't want the script to ask me for a password)
thanks guys