install -d  "${ROOT}//boot" 2>/dev/null \
	|| ewarn "  can't create /boot"
touch "${ROOT}//boot/.keep" 2>/dev/null \
	|| ewarn "  can't create /boot/.keep"
install -d  "${ROOT}//dev" 2>/dev/null \
	|| ewarn "  can't create /dev"
touch "${ROOT}//dev/.keep" 2>/dev/null \
	|| ewarn "  can't create /dev/.keep"
install -d  "${ROOT}//dev/pts" 2>/dev/null \
	|| ewarn "  can't create /dev/pts"
touch "${ROOT}//dev/pts/.keep" 2>/dev/null \
	|| ewarn "  can't create /dev/pts/.keep"
install -d  "${ROOT}//dev/shm" 2>/dev/null \
	|| ewarn "  can't create /dev/shm"
touch "${ROOT}//dev/shm/.keep" 2>/dev/null \
	|| ewarn "  can't create /dev/shm/.keep"
install -d  "${ROOT}//etc/conf.d" 2>/dev/null \
	|| ewarn "  can't create /etc/conf.d"
touch "${ROOT}//etc/conf.d/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/conf.d/.keep"
install -d  "${ROOT}//etc/cron.daily" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.daily"
touch "${ROOT}//etc/cron.daily/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.daily/.keep"
install -d  "${ROOT}//etc/cron.hourly" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.hourly"
touch "${ROOT}//etc/cron.hourly/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.hourly/.keep"
install -d  "${ROOT}//etc/cron.monthly" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.monthly"
touch "${ROOT}//etc/cron.monthly/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.monthly/.keep"
install -d  "${ROOT}//etc/cron.weekly" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.weekly"
touch "${ROOT}//etc/cron.weekly/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/cron.weekly/.keep"
install -d  "${ROOT}//etc/env.d" 2>/dev/null \
	|| ewarn "  can't create /etc/env.d"
touch "${ROOT}//etc/env.d/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/env.d/.keep"
install -d  "${ROOT}//etc/modules.autoload.d" 2>/dev/null \
	|| ewarn "  can't create /etc/modules.autoload.d"
touch "${ROOT}//etc/modules.autoload.d/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/modules.autoload.d/.keep"
install -d  "${ROOT}//etc/modules.d" 2>/dev/null \
	|| ewarn "  can't create /etc/modules.d"
touch "${ROOT}//etc/modules.d/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/modules.d/.keep"
install -d  "${ROOT}//etc/opt" 2>/dev/null \
	|| ewarn "  can't create /etc/opt"
touch "${ROOT}//etc/opt/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/opt/.keep"
install -d  "${ROOT}//home" 2>/dev/null \
	|| ewarn "  can't create /home"
touch "${ROOT}//home/.keep" 2>/dev/null \
	|| ewarn "  can't create /home/.keep"
install -d  "${ROOT}//lib" 2>/dev/null \
	|| ewarn "  can't create /lib"
touch "${ROOT}//lib/.keep" 2>/dev/null \
	|| ewarn "  can't create /lib/.keep"
install -d  "${ROOT}//lib/dev-state" 2>/dev/null \
	|| ewarn "  can't create /lib/dev-state"
touch "${ROOT}//lib/dev-state/.keep" 2>/dev/null \
	|| ewarn "  can't create /lib/dev-state/.keep"
install -d  "${ROOT}//lib/udev-state" 2>/dev/null \
	|| ewarn "  can't create /lib/udev-state"
touch "${ROOT}//lib/udev-state/.keep" 2>/dev/null \
	|| ewarn "  can't create /lib/udev-state/.keep"
install -d  "${ROOT}//mnt" 2>/dev/null \
	|| ewarn "  can't create /mnt"
touch "${ROOT}//mnt/.keep" 2>/dev/null \
	|| ewarn "  can't create /mnt/.keep"
install -d -m 0700 "${ROOT}//mnt/cdrom" 2>/dev/null \
	|| ewarn "  can't create /mnt/cdrom"
touch "${ROOT}//mnt/cdrom/.keep" 2>/dev/null \
	|| ewarn "  can't create /mnt/cdrom/.keep"
install -d -m 0700 "${ROOT}//mnt/floppy" 2>/dev/null \
	|| ewarn "  can't create /mnt/floppy"
touch "${ROOT}//mnt/floppy/.keep" 2>/dev/null \
	|| ewarn "  can't create /mnt/floppy/.keep"
install -d  "${ROOT}//opt" 2>/dev/null \
	|| ewarn "  can't create /opt"
touch "${ROOT}//opt/.keep" 2>/dev/null \
	|| ewarn "  can't create /opt/.keep"
install -d -o root -g uucp -m0775 "${ROOT}//var/lock" 2>/dev/null \
	|| ewarn "  can't create /var/lock"
touch "${ROOT}//var/lock/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/lock/.keep"
install -d  "${ROOT}//proc" 2>/dev/null \
	|| ewarn "  can't create /proc"
touch "${ROOT}//proc/.keep" 2>/dev/null \
	|| ewarn "  can't create /proc/.keep"
install -d -m 0700 "${ROOT}//root" 2>/dev/null \
	|| ewarn "  can't create /root"
touch "${ROOT}//root/.keep" 2>/dev/null \
	|| ewarn "  can't create /root/.keep"
install -d  "${ROOT}//sbin" 2>/dev/null \
	|| ewarn "  can't create /sbin"
touch "${ROOT}//sbin/.keep" 2>/dev/null \
	|| ewarn "  can't create /sbin/.keep"
install -d  "${ROOT}//sys" 2>/dev/null \
	|| ewarn "  can't create /sys"
touch "${ROOT}//sys/.keep" 2>/dev/null \
	|| ewarn "  can't create /sys/.keep"
install -d  "${ROOT}//usr" 2>/dev/null \
	|| ewarn "  can't create /usr"
touch "${ROOT}//usr/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/.keep"
install -d  "${ROOT}//usr/bin" 2>/dev/null \
	|| ewarn "  can't create /usr/bin"
touch "${ROOT}//usr/bin/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/bin/.keep"
install -d  "${ROOT}//usr/include" 2>/dev/null \
	|| ewarn "  can't create /usr/include"
touch "${ROOT}//usr/include/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/include/.keep"
install -d  "${ROOT}//usr/include/asm" 2>/dev/null \
	|| ewarn "  can't create /usr/include/asm"
touch "${ROOT}//usr/include/asm/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/include/asm/.keep"
install -d  "${ROOT}//usr/include/linux" 2>/dev/null \
	|| ewarn "  can't create /usr/include/linux"
touch "${ROOT}//usr/include/linux/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/include/linux/.keep"
install -d  "${ROOT}//usr/lib" 2>/dev/null \
	|| ewarn "  can't create /usr/lib"
touch "${ROOT}//usr/lib/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/lib/.keep"
install -d  "${ROOT}//usr/local/bin" 2>/dev/null \
	|| ewarn "  can't create /usr/local/bin"
touch "${ROOT}//usr/local/bin/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/bin/.keep"
install -d  "${ROOT}//usr/local/games" 2>/dev/null \
	|| ewarn "  can't create /usr/local/games"
touch "${ROOT}//usr/local/games/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/games/.keep"
install -d  "${ROOT}//usr/local/lib" 2>/dev/null \
	|| ewarn "  can't create /usr/local/lib"
touch "${ROOT}//usr/local/lib/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/lib/.keep"
install -d  "${ROOT}//usr/local/sbin" 2>/dev/null \
	|| ewarn "  can't create /usr/local/sbin"
touch "${ROOT}//usr/local/sbin/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/sbin/.keep"
install -d  "${ROOT}//usr/local/share" 2>/dev/null \
	|| ewarn "  can't create /usr/local/share"
touch "${ROOT}//usr/local/share/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/share/.keep"
install -d  "${ROOT}//usr/local/share/doc" 2>/dev/null \
	|| ewarn "  can't create /usr/local/share/doc"
touch "${ROOT}//usr/local/share/doc/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/share/doc/.keep"
install -d  "${ROOT}//usr/local/share/man" 2>/dev/null \
	|| ewarn "  can't create /usr/local/share/man"
touch "${ROOT}//usr/local/share/man/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/share/man/.keep"
install -d  "${ROOT}//usr/local/src" 2>/dev/null \
	|| ewarn "  can't create /usr/local/src"
touch "${ROOT}//usr/local/src/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/local/src/.keep"
install -d  "${ROOT}//usr/portage" 2>/dev/null \
	|| ewarn "  can't create /usr/portage"
touch "${ROOT}//usr/portage/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/portage/.keep"
install -d  "${ROOT}//usr/sbin" 2>/dev/null \
	|| ewarn "  can't create /usr/sbin"
touch "${ROOT}//usr/sbin/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/sbin/.keep"
install -d  "${ROOT}//usr/share/doc" 2>/dev/null \
	|| ewarn "  can't create /usr/share/doc"
touch "${ROOT}//usr/share/doc/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/share/doc/.keep"
install -d  "${ROOT}//usr/share/info" 2>/dev/null \
	|| ewarn "  can't create /usr/share/info"
touch "${ROOT}//usr/share/info/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/share/info/.keep"
install -d  "${ROOT}//usr/share/man" 2>/dev/null \
	|| ewarn "  can't create /usr/share/man"
touch "${ROOT}//usr/share/man/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/share/man/.keep"
install -d  "${ROOT}//usr/share/misc" 2>/dev/null \
	|| ewarn "  can't create /usr/share/misc"
touch "${ROOT}//usr/share/misc/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/share/misc/.keep"
install -d  "${ROOT}//usr/src" 2>/dev/null \
	|| ewarn "  can't create /usr/src"
touch "${ROOT}//usr/src/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/src/.keep"
install -d  "${ROOT}//usr/X11R6/include/GL" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/include/GL"
touch "${ROOT}//usr/X11R6/include/GL/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/include/GL/.keep"
install -d  "${ROOT}//usr/X11R6/include/X11" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/include/X11"
touch "${ROOT}//usr/X11R6/include/X11/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/include/X11/.keep"
install -d  "${ROOT}//usr/X11R6/lib" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/lib"
touch "${ROOT}//usr/X11R6/lib/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/lib/.keep"
install -d  "${ROOT}//usr/X11R6/lib" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/lib"
touch "${ROOT}//usr/X11R6/lib/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/lib/.keep"
install -d  "${ROOT}//usr/X11R6/man" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/man"
touch "${ROOT}//usr/X11R6/man/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/man/.keep"
install -d  "${ROOT}//usr/X11R6/share" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/share"
touch "${ROOT}//usr/X11R6/share/.keep" 2>/dev/null \
	|| ewarn "  can't create /usr/X11R6/share/.keep"
install -d -m 1777 "${ROOT}//tmp" 2>/dev/null \
	|| ewarn "  can't create /tmp"
touch "${ROOT}//tmp/.keep" 2>/dev/null \
	|| ewarn "  can't create /tmp/.keep"
install -d  "${ROOT}//var" 2>/dev/null \
	|| ewarn "  can't create /var"
touch "${ROOT}//var/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/.keep"
install -d  "${ROOT}//var/lib/misc" 2>/dev/null \
	|| ewarn "  can't create /var/lib/misc"
touch "${ROOT}//var/lib/misc/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/lib/misc/.keep"
install -d  "${ROOT}//var/lock/subsys" 2>/dev/null \
	|| ewarn "  can't create /var/lock/subsys"
touch "${ROOT}//var/lock/subsys/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/lock/subsys/.keep"
install -d  "${ROOT}//var/log/news" 2>/dev/null \
	|| ewarn "  can't create /var/log/news"
touch "${ROOT}//var/log/news/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/log/news/.keep"
install -d  "${ROOT}//var/run" 2>/dev/null \
	|| ewarn "  can't create /var/run"
touch "${ROOT}//var/run/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/run/.keep"
install -d  "${ROOT}//var/spool" 2>/dev/null \
	|| ewarn "  can't create /var/spool"
touch "${ROOT}//var/spool/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/spool/.keep"
install -d  "${ROOT}//var/state" 2>/dev/null \
	|| ewarn "  can't create /var/state"
touch "${ROOT}//var/state/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/state/.keep"
install -d -m 1777 "${ROOT}//var/tmp" 2>/dev/null \
	|| ewarn "  can't create /var/tmp"
touch "${ROOT}//var/tmp/.keep" 2>/dev/null \
	|| ewarn "  can't create /var/tmp/.keep"
install -d  "${ROOT}//etc/runlevels/default" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/default"
touch "${ROOT}//etc/runlevels/default/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/default/.keep"
install -d  "${ROOT}//etc/runlevels/boot" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/boot"
touch "${ROOT}//etc/runlevels/boot/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/boot/.keep"
install -d  "${ROOT}//etc/runlevels/nonetwork" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/nonetwork"
touch "${ROOT}//etc/runlevels/nonetwork/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/nonetwork/.keep"
install -d  "${ROOT}//etc/runlevels/single" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/single"
touch "${ROOT}//etc/runlevels/single/.keep" 2>/dev/null \
	|| ewarn "  can't create /etc/runlevels/single/.keep"
