Oops: Deleted /var/named

Dan Nelson dnelson at allantgroup.com
Tue Mar 28 17:23:01 UTC 2006


In the last episode (Mar 28), daniel said:
> Yes, it was dumb, but while I have a backup of all of my domain info
> and have restored it all, starting named gives me this error now:
> 
>   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
>   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
>   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
> 
> I can only assume that it has something to do with the files in
> /var/named/dev/ that I have untarred there.  I tried doing a "make
> deinstall; make install" in /usr/ports/dns/bind9 but that didn't
> create anything.  What is the propper way to re-set this up?

Remove everything in /var/named/dev and remount devfs on top of it (or
run /etc/rc.d/named restart which should do the same).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list