devfs.rules and serial devices question

Daniel O'Connor doconnor at gsoft.com.au
Tue Dec 13 02:48:06 PST 2005


On Tue, 13 Dec 2005 20:47, Niki Denev wrote:
> perm    ttyd0   0660
> own     ttyd0   upsd:upsd
>
> But it still does not work because ttyd0.init and ttyd0.lock
> are still owned by root.

So?

> I'll try adding them too to the devfs.rules file,
> but i'm wondering if this is the expected behaviour of devfs?

Yes.

> I think that maybe it will be better if one specify ttyd0 in the
> file, that rule also to apply for ttyd0.init and ttyd0.lock files.
> What do you think?

I don't see why your program needs to open .init and .lock files. Both of 
those are pretty much exclusively for administrator use.

NUT should definitely work without being able to open them.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051213/e4169b86/attachment.bin


More information about the freebsd-stable mailing list