Adam Warner <[EMAIL PROTECTED]> wrote:

>> I'm running testing, and I have both - /var/mail/$USER and 
>> /var/spool/mail/$USER. Why is this? 
>
> One is a symbolic link:
> 
> ls -l /var/spool/mail
> lrwxrwxrwx   1 root  root   7 Jun 16 03:30 /var/spool/mail -> ../mail

Ah, stupid me; I only checked the file itself, and it wasn't symlink,
that's where I went wrong. Yes, indeed - /var/spool/mail points to
/var/mail. This was good to know,

> If you change directory to /var/spool/mail you will be transparently
> mapped into ../mail (/var/mail).

Yup. 

> Symbolic links are incredibly useful. 

They are, indeed. Whenever I compile a software from its sources,
I install it in /usr/local/stow/foo, then run `stow foo' and I've
symlinks nicely in /usr/local/bin pointing to the "real directory".
I think this is extremely convenient - programs are easy to remove
and the whole thing is very organised. And, I'm the kind of person,
who likes to organise everything. :-)

Thanks for the answers.

-- 
Jussi Ekholm,               "Everything is so fine it could be
little, ill flower           don't let your mind take you in misery
[EMAIL PROTECTED]            all the feelings you're not so much pleased
http://goa-head.org/ekhowl   they're just to take you to sweet harmony"

Reply via email to