/var/mail in a different partition

2007-12-25 10:09:00

Someone from Sun suggesteg that I use a symbolic link instead of just

mounting the partition with the real name.

Here is the original question:

> Hi fellow sysadmin,

>

> I thought it would be a good idea to place /var/mail in a partition by

> itself so I can control better the space of the inbox and the space of

> log and errors messages in the rest of /var so one wouldn't interfere

> with the other.

>

> The problem is the normal permissions,owner,group of /var/mail are:

> drwxrwxrwt root mail

> but after I mount a partition over it, it becomes:

> drwxrwxr-x root sys

The solution is to create a symbolic link like this:

ln -s /var/mail /varmail

then mount /varmail on the partition reserved to the inboxes.

====================================================================

, @ _{)_ ,Gaetan Boudreau, ing/P.Eng.

 \/( )\/\/\ /\/ Administrateur de reseau/Network Administrator

   /=\ /==\ IRCM (Institut de recherches cliniques de Montreal/

  /___\ |/\| Clinical Research Institute of Montreal)

  _/ \_ \# _# tel: 514-987-5563 fax: 514-987-5644

Internet E-Mail: Gaetan_Boudreau@IRCM.UMontreal.CA

Internet Web Site: http://www.ircm.umontreal.ca

Comments

Got something to say?

You must be logged in to post a comment.