Date: Tue, 26 Sep 2006 12:58:39 -0400 From: "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu> To: Justin Hibbits <jrh29@alumni.cwru.edu> Cc: current@freebsd.org Subject: Re: What do you think ?: How should pseundo terminals behave ... Message-ID: <98FD6058-7220-48DB-AC24-F989FCB2AE11@ece.cmu.edu> In-Reply-To: <0C4B0125-11AA-4BDB-A4E3-163A6194AB68@alumni.cwru.edu> References: <20060926111452.J91466@godot.imp.ch> <0C4B0125-11AA-4BDB-A4E3-163A6194AB68@alumni.cwru.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 26, 2006, at 7:39 , Justin Hibbits wrote: > > On Sep 26, 2006, at 05:33 , Martin Blapp wrote: >> 3.) Detect that there is no master around anymore and >> return ENXIO: >> >> # echo "BLUBBER" > /dev/ttypX >> # /dev/ttypX: Device not configured >> >> (easy to do, i've got a fix. IMHO this is the best thing to >> do. This allows fast error recovery in case the master >> has been gone away) 3a) Hangup all processes attached to the client and switch them to some kind of "dead" inode (which could be a fixed entity since all operations on it except close() fail). (Don't real ttys do this?) Dunno how easy this would be. -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98FD6058-7220-48DB-AC24-F989FCB2AE11>