On 2005-12-19, dave <(E-Mail Removed)> wrote:
>
> (1) If I just link /var/spool/mail to it's new home would there be a major
> performance problem? The box is quite quick and has plenty of RAM. Are there
> other hazards to this? Presumably even if I re-pointed sendmail and ipop3d I
> could leave "legacy" links for other less frequent users?
There should not be a huge performance hit (if any), and leaving the
link after you reconfigure sendmail and ipop3d is a good idea, in case
someone reads mail using something like Mail or nail.
> (2) If I did just link /var/spool/mail to it's new home what is the best
> type of link to use, I have used directory symlinks but know there are also
> forced hard links. Which would be best?
I've always read that it's a Bad Idea (TM) to use hard links for
directories, but never knew why. Presumably a hard link to a directory
can cause problems for the filesystem or the kernel; the best reference
(which isn't so good, anyway) I've found so far is this thread:
http://lists.debian.org/debian-user/.../msg00333.html
In any case, it sounds like /home and /var are separate filesystems for
your box, so you *must* use a symlink. Hard links only work within one
filesystem.
--keith
--
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information