On Fri, Mar 01, 2002 at 03:04:28PM -0800, Brooks Davis wrote:
> -# If /tmp is a symlink, assume it points to somewhere writable, like
> -# /var/tmp, otherwise, use a small memory filesystem for /tmp.
> +# If /tmp is not writable, use a small memory filesystem for /tmp.
>  #
>  # XXX: mtree runs too early to create any directories needed in /tmp,
>  # so if /var/tmp == /tmp, then you don't get a vi.recover.
>  #
> -if [ ! -h /tmp ]; then
> +if /usr/bin/touch /tmp/_writable_test; then
> +     rm /tmp/_writable_test
> +else
>       mount_md ${tmpsize:=64m} /tmp 2
>       chmod 01777 /tmp
>  fi

I don't like this part -- because I use RW NFS mounted / (for sparc64
development), but I DO want a MFS /tmp as there is no need to do this
over the network.

Which just goes to show that your tests are not suffient.  Full rc.conf
knobs should be used instead.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to