Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 22:36:46 +0100
From:      Stacey Roberts <stacey@vickiandstacey.com>
To:        Peter Risdon <peter@circlesquared.com>
Cc:        Stacey Roberts <stacey@vickiandstacey.com>
Subject:   Re: apcupsd vs FreeBSD-5.2.x
Message-ID:  <20040727213646.GG495@crom.vickiandstacey.com>
In-Reply-To: <4106B445.4080902@circlesquared.com>
References:  <20040727181557.GE495@crom.vickiandstacey.com> <4106A91C.70500@circlesquared.com> <20040727195517.GF495@crom.vickiandstacey.com> <4106B445.4080902@circlesquared.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi Peter,
   
----- Original Message -----
From: "Peter Risdon <peter@circlesquared.com>"
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 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

Okay, I understand. And I take it that if the serial signalling cable is actually connected to (labeled) serial port 1, then the corresponding device tobe used here would be cuaa0?


> 
> 
> 
> >
> >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.

I understand., seems to be there for what I imagine to be for some good reason.

This has been really helpful, Peter. Thanks again.

Regards,

Stacey


> 
> >Thanks again for taking the time.
> 
> My pleasure, hope it helps.
> 
> Peter.
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

[-- Attachment #2 --]
-----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-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040727213646.GG495>