Subject: Re: Proper way to move /var/mail to /usr/mail?
To: Paul Hoffman <phoffman@proper.com>
From: Perry E. Metzger <perry@wasabisystems.com>
List: netbsd-help
Date: 05/30/2002 00:36:31
Paul Hoffman <phoffman@proper.com> writes:
> Does the following seem like a safe way to have mail put in /usr
> instead of /var?
> 
> 1) create /usr/mail with the same permissions as /var/mail
> 2) shut down sendmail to prevent incoming mail from writing locally
> 3) mv /var/mail/* /usr/mail
> 4) rmdir /var/mail
> 5) ln -s /usr/mail /var/mail

Looks fine. You might just mv /var/mail /usr/mail and do the ln,
though -- it will work (with NetBSD's mv.)

--
Perry E. Metzger		perry@wasabisystems.com
--
NetBSD: The right OS for your embedded design. http://www.wasabisystems.com/