Lines Matching full:var
29 # PROVIDE: var
32 # NFS /var is not supported, unless NFS /var is part of diskless NFS /
36 name="var"
37 desc="Populate /var directory"
47 /usr/sbin/mtree -deiU -f /etc/mtree/BSD.var.dist -p /var > /dev/null
57 # If we do not have a writable /var, create a memory filesystem for /var
60 # have to make sure /var/db exists before doing the mount -a.
64 mount_md ${varsize} /var "${varmfs_flags}"
69 if /bin/mkdir -p /var/.diskless 2> /dev/null; then
70 rmdir /var/.diskless
72 mount_md ${varsize} /var "${varmfs_flags}"
77 # If we have an empty looking /var, populate it, but only if we have
88 if [ -d /var/run -a -d /var/db -a -d /var/empty ] ; then
93 # We need mtree to populate /var so try mounting /usr.
106 # Make sure we have /var/log/utx.lastlogin and /var/log/utx.log files
107 if [ ! -f /var/log/utx.lastlogin ]; then
108 cp /dev/null /var/log/utx.lastlogin
109 chmod 644 /var/log/utx.lastlogin
111 if [ ! -f /var/log/utx.log ]; then
112 cp /dev/null /var/log/utx.log
113 chmod 644 /var/log/utx.log