freebsd-dev/etc/mtree/BSD.root.dist
Doug Barton 8f1bb3891d Create a named chroot directory structure in /var/named, and use it
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.
2004-09-28 09:46:00 +00:00

83 lines
1.1 KiB
Plaintext

# $FreeBSD$
#
# Please see the file src/etc/mtree/README before making changes to this file.
#
/set type=dir uname=root gname=wheel mode=0755
.
bin
..
boot
defaults
..
kernel
..
modules
..
..
dev mode=0555
..
etc
X11
..
bluetooth
..
defaults
..
gnats
..
isdn mode=0700
..
mail
..
mtree
..
ntp mode=0700
..
pam.d
..
periodic
daily
..
monthly
..
security
..
weekly
..
..
ppp
..
rc.d
..
skel
..
ssh
..
ssl
..
..
lib
geom
..
..
libexec
..
mnt
..
proc mode=0555
..
rescue
..
root
..
sbin
..
tmp mode=01777
..
usr
..
var
..
..