◄  ▲  ► |
# Create directories in the filesystem
echo "Creating directories in the filesystem"
for NEW_DIR in bin boot dev etc lib media mnt opt proc sbin tmp usr var root srv home sys; do
mkdir tempfs/$NEW_DIR
done
mkdir tempfs/etc/init.d
mkdir tempfs/usr/bin
mkdir tempfs/usr/sbin
for NEW_DIR in cdrom floppy usb; do
for MNT_DIR in mnt media; do
mkdir tempfs/$MNT_DIR/$NEW_DIR
done
done