device snp build broken?

Ed Schouten ed at 80386.nl
Tue Nov 4 14:24:36 PST 2008


Hello Jille, Alex, Alexey,

* Jille Timmermans <jille at quis.cx> wrote:
> Alex Keda schreef:
> > Jille Timmermans пишет:
> >> Hello,
> >>
> >> snp(4) in -CURRENT is currently not supported.
> >> Ed made a patch for it; which worked for me.
> >> You can get the latest version from:
> >>
> >> http://people.freebsd.org/~ed/mpsafetty/
> >>
> >> (The patch-set also includes other things; like a new /dev/console)
> > 
> > What was the reason not to support the device?
> Ed rewrote the TTY system and left out snp(4):
> * He didn't thought anyone was really needing it
> * Because it reads from a TTY, and writes to another TTY; it would have
> caused problems with blocking (full queues, etc)
> 
> After a while he got convinced to fix snp(4).
> It is now experimental, so only available through his patchset.
> 
> But it will make it into HEAD before 8.0.
> 
> Ed: Please correct me if I'm wrong somewhere

The main problem with snp(4) was that its design didn't really fit into
the model of the new TTY layer that I imported back in August.

The reason the new snp(4) isn't available in SVN yet, is because it
isn't finished. It doesn't return the traditional snp(4) status codes
and doesn't allow descriptors to /dev/snp to switch to a different TTY
after being used.

I really want to fix at least the first issue, but so far I haven't
found {time,interest,etc}. The new snp(4) code is already pretty sweet -
it works a lot better than the old driver. Maybe someone else is
interested in fixing it?

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20081104/e1cc432a/attachment.pgp


More information about the freebsd-current mailing list