On Thu, 27 May 1999, Jose Angel Amador Fundora wrote:
> I found that in order to create mheard.dat you do a mheardd -f, and
> flushing the inexistent one, you are given a new, empty mheard.dat
> file.
>
> Anything else failed here.
>
> Anyone else proposing a different way to do it ?? 8-)
Well, The Correct Way (tm) to do this is to "make installconf" when first
installing the utilities. Later of course this is not so good as it will
overwrite the config files...
The normal unix way of creating an empty file is with touch:
touch /var/ax25/mheard/mheard.dat
If you want to truncate an existing file to zero length without changing
the permissions you can do:
> /var/ax25/mheard/mheard.dat
or
cp /dev/null /var/ax25/mheard/mheard.dat
The former will probably only work with Bourne shell and it's derivatives
(like bash).
That said, looking at the mheardd source, it should create the file as
long as /var/ax25/mheard/ directory exists. In fact if invoked with the -f
flag, mheardd will simply remove the the old file and then continue
normally.
--
Tomi Manninen Internet: [EMAIL PROTECTED]
OH2BNS AX.25: [EMAIL PROTECTED]
KP20ME Amprnet: [EMAIL PROTECTED]