#!/bin/sh
#this shall started with "source 000.." for export to take effect

#echo create a new LFS-partition:
#mkfs.ext2 /dev/hda8
#tune2fs -c 50 /dev/hda8
export LFS=/mnt/lfs

#mount new partition:
#mkdir $LFS
#mount /dev/hda8 $LFS

mkdir -p $LFS/prelfs $LFS/usr/src
ln -sf $LFS/prelfs /

#user lfs causes too much trouble:
#userdel lfs
#useradd -s /bin/bash -m lfs
#passwd lfs
#chown -R lfs $LFS/prelfs $LFS/usr
##su -: gives a clean shell
#su - lfs
