From owner-freebsd-questions@FreeBSD.ORG Tue Jul 27 20:00:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60D7016A4D3 for ; Tue, 27 Jul 2004 20:00:47 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3017443D80 for ; Tue, 27 Jul 2004 20:00:27 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.circlesquared.com [127.0.0.1]) i6RK053f029580; Tue, 27 Jul 2004 21:00:06 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <4106B445.4080902@circlesquared.com> Date: Tue, 27 Jul 2004 21:00:05 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040611 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stacey Roberts References: <20040727181557.GE495@crom.vickiandstacey.com> <4106A91C.70500@circlesquared.com> <20040727195517.GF495@crom.vickiandstacey.com> In-Reply-To: <20040727195517.GF495@crom.vickiandstacey.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG cc: Lars.Koeller@Uni-Bielefeld.de Subject: Re: apcupsd vs FreeBSD-5.2.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 20:00:48 -0000 Stacey Roberts wrote: > Hi Peter, > Thanks for the reply. > >>Stacey Roberts wrote: >> >>>[snip] >>>The other problem I've got is that with the instruction to create a soft >>>link >>>for /dev/usv, on reboot, that soft link is of course disappears, so I >> >>have to >> >>>manually recreate that soft link again, before (again) manually starting >>>apcupsd from cmdline. >> >>You need to make an appropriate entry in devfs.conf for any >>customisation of /dev to persist beyond a reboot with FreeBSD 5. - >>something like: >> >>link target name > > > Ah.., yes.., Do you mind checking my syntax, please? According to your suggestion, I'd be adding: > > link /dev/cuaa1 /dev/usv > > to /etc/devfs.conf, and that should be it? No - look at the file, there are sample entries there: # Commonly used by many ports link acd0 cdrom link cuaa0 pilot So you'd want: link cuaa1 usv > > Whislt I'm keen to try this out, could I then ask the obvious question, >is there some reason why in apcupsd.conf I am not allowed to simply use /dev/cuaa1? > I'm afraid I'm not sufficiently familiar with this software to answer. But it would almost certainly be less problematic to stick with the suggested link. > Thanks again for taking the time. My pleasure, hope it helps. Peter.