*BSD News Article 71533


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!news.ac.net!news.cais.net!rtd.com!dgy
From: dgy@rtd.com (Don Yuniskis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: location of uucppublic directory
Date: 20 Jun 1996 08:41:02 GMT
Organization: CICDO
Lines: 34
Message-ID: <4qb2qu$5l3@baygull.rtd.com>
References: <4qah8g$454@mtinsc01-mgt.ops.worldnet.att.net>
NNTP-Posting-Host: seagull.rtd.com

In article <4qah8g$454@mtinsc01-mgt.ops.worldnet.att.net> you write:
>
>In FreeBSD, the uucppublic directory is located at
>/var/spool/uucppublic
>
>In System V, it is located at
>/usr/spool/uucppublic
>
>I thought /usr/spool/uucppublic was a defacto standard.  What are BSD users 
>actually doing?  Create a link to /usr/spool/uucppulibc?  Otherwise, I have to 

I think the ports that I've seen are not consistent on this (I just finished
UUCP setup/configuration a week or so ago).  All work with /var/spool as the
hierarchy for uucp.  Some create symlinks from /usr/spool/... to their
/var/spool/... counterparts.  I have been rebuilding everything to NOT
have any such symlinks (I don't want to have /usr/spool in my hierarchy
at all since other packages might autoconfigure and see it there, etc.)

>know which OS the other end is using before I can uucp.  I have 3 unix boxes 
>here at home and 3 more at work. It can get confusing if I am sending from 
>machines to machines.

(sigh)   Use the tilde notation to transfer things into the uucppublic
directory:    uucp  foo Remote!~/fudge
will copy ./foo to /var/spool/uucppublic/fudge (on a FreeBSD box) or
/usr/spool/uucppublic/fudge on SysV, etc.  Note that a UUCP setup
*could* have ``~'' reference /some/other/file/hierarchy so use of
tilde is highly desireable!

>What is the motivation behind use of /var?

/var is for "autocreated" things that tend to be semi-permanent (vs. /tmp)
and take up "significant" space.  So, you'll find /var/mail, /var/news,
/var/log, /var/cron, etc.