6 # If there is a global system configuration file, suck it in.
8 if [ -r /etc/defaults/rc.conf ]; then
9 . /etc/defaults/rc.conf
10 elif [ -r /etc/rc.conf ]; then
14 mount_mfs -s ${varsize:=65536} -T qp120at dummy /var
15 var_dirs="run dev db msgs tmp spool spool/mqueue spool/lpd spool/output \
25 chown -R root.daemon /var/spool/output
26 chgrp daemon /var/spool/lpd
28 # XXX make sure to create one dir for each printer as requested by lpd
31 if [ ! -h /tmp -a ! -h /var/tmp ]; then
32 mount_null /var/tmp /tmp
35 # extract a list of device entries, then copy them to a writable partition
36 (cd /; find -x dev | cpio -o -H newc) > /tmp/dev.tmp
37 mount_mfs -s 4096 -i 512 -T qp120at dummy /dev
38 (cd /; cpio -i -H newc -d < /tmp/dev.tmp)