Chroot-BIND HOWTO

# ls /var/cache/bind
keepmarket.com.db
# cd /var/lib/named/
#/var/lib/named# ls
dev etc var
#/var/lib/named# ls var/cache/bind/
#/var/lib/named# mv /var/cache/bind/* var/cache/bind/
#/var/lib/named# cd /var/cache
#/var/cache# rmdir bind
rmdir: bind: Directory not empty
#/var/cache# ls bind
#/var/cache# ls -l bind
total 0
#/var/cache# ls -al bind
total 20
drwxrwxr-x 2 root bind? 4096 2007-03-29 03:55 .
drwxr-xr-x 9 root root? 4096 2007-03-28 13:07 ..
-rw-r–r– 1 root root 12288 2007-03-29 03:25 .keepmarket.com.db.swp
#/var/cache# rm -rf bind
#/var/cache# ln -s /var/lib/named/var/cache/bind .