From owner-freebsd-questions@FreeBSD.ORG Tue Jul 27 21:37:11 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 1264016A4CE for ; Tue, 27 Jul 2004 21:37:11 +0000 (GMT) Received: from heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 851F443D4C for ; Tue, 27 Jul 2004 21:37:10 +0000 (GMT) (envelope-from stacey@vickiandstacey.com) Received: from [82.68.31.182] (helo=Demon.vickiandstacey.com) by heisenberg.zen.co.uk with esmtp (Exim 4.30) id 1BpZdD-00023K-BS; Tue, 27 Jul 2004 21:37:07 +0000 Received: from crom.vickiandstacey.com (crom [192.168.1.10]) i6RLbDuo005828; Tue, 27 Jul 2004 22:37:13 +0100 (BST) (envelope-from stacey@vickiandstacey.com) Received: from crom.vickiandstacey.com (localhost [127.0.0.1]) i6RLapRm070514; Tue, 27 Jul 2004 22:36:57 +0100 (BST) (envelope-from stacey@crom.vickiandstacey.com) Received: (from stacey@localhost) by crom.vickiandstacey.com (8.12.11/8.12.11/Submit) id i6RLakMe070513; Tue, 27 Jul 2004 22:36:46 +0100 (BST) (envelope-from stacey) Date: Tue, 27 Jul 2004 22:36:46 +0100 From: Stacey Roberts To: Peter Risdon Message-ID: <20040727213646.GG495@crom.vickiandstacey.com> References: <20040727181557.GE495@crom.vickiandstacey.com> <4106A91C.70500@circlesquared.com> <20040727195517.GF495@crom.vickiandstacey.com> <4106B445.4080902@circlesquared.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="EVcIhgQsEzAXu06J" Content-Disposition: inline In-Reply-To: <4106B445.4080902@circlesquared.com> User-Agent: Mutt/1.4.2.1i X-Originating-Heisenberg-IP: [82.68.31.182] cc: Lars.Koeller@Uni-Bielefeld.de cc: freebsd-questions@freebsd.org cc: Stacey Roberts 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 21:37:11 -0000 --EVcIhgQsEzAXu06J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Peter, =20 ----- Original Message ----- From: "Peter Risdon " To: To Stacey Roberts Date: Tue, 27 Jul, 2004 21:00 BST Subject: Re: apcupsd vs FreeBSD-5.2.x > 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 so= ft=20 > >>>link=20 > >>>for /dev/usv, on reboot, that soft link is of course disappears, so I= =20 > >> > >>have to > >> > >>>manually recreate that soft link again, before (again) manually starti= ng=20 > >>>apcupsd from cmdline. > >> > >>You need to make an appropriate entry in devfs.conf for any=20 > >>customisation of /dev to persist beyond a reboot with FreeBSD 5. -=20 > >>something like: > >> > >>link target name > > > > > >Ah.., yes.., Do you mind checking my syntax, please? According to your= =20 > >suggestion, I'd be adding: > > > >link /dev/cuaa1 /dev/usv > > > >to /etc/devfs.conf, and that should be it? >=20 > No - look at the file, there are sample entries there: >=20 > # Commonly used by many ports > link acd0 cdrom > link cuaa0 pilot >=20 > So you'd want: >=20 > link cuaa1 usv Okay, I understand. And I take it that if the serial signalling cable is ac= tually connected to (labeled) serial port 1, then the corresponding device = tobe used here would be cuaa0? >=20 >=20 >=20 > > > >Whislt I'm keen to try this out, could I then ask the obvious question,= =20 > >is there some reason why in apcupsd.conf I am not allowed to simply=20 > use /dev/cuaa1? > > >=20 > I'm afraid I'm not sufficiently familiar with this software to answer.=20 > But it would almost certainly be less problematic to stick with the=20 > suggested link. I understand., seems to be there for what I imagine to be for some good rea= son. This has been really helpful, Peter. Thanks again. Regards, Stacey >=20 > >Thanks again for taking the time. >=20 > My pleasure, hope it helps. >=20 > Peter. >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --EVcIhgQsEzAXu06J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUBQQbK7OdvY+8mWFvRAQG00gf+Oyu4ysHKTBeHRVSzz3PhRGylh4zkxRYf 8KPyNuZOWmJIZttkRI0adRYGBsydgyJchAlq1tpPDFWQDsWjx3R8Ob0dGFKowmHw GFcuVp00MxEHhab/vktHEMO84WnXC/RkO8/um7eBK9fNXp5pdCFA2+nlPsa6mEsw Ij2db/A/fgbqazaU5QK6ThYjj2tDc3UQ2XnLDVkunMcCsDeExDz5jWFTxkrHfR1v gRG1MOC8FgSMKJChY8N3sXH68Pvo/IYgbs+7c0hINpibOS1G0IqxcDhGmXSppXsZ hGmE0arPX4WsYAytDG0xgFC9k5DeQAN/P3G/x8IOyBrJvp3CHl2veg== =uNlN -----END PGP SIGNATURE----- --EVcIhgQsEzAXu06J--