Date: Sat, 8 Mar 2008 12:48:10 +0100 From: Jeremie Le Hen <jeremie@le-hen.org> To: Jaakko Heinonen <jh@saunalahti.fi> Cc: freebsd-current@FreeBSD.org, sos@FreeBSD.org Subject: Re: [patch] burncd(8) signal and error handling improvements Message-ID: <20080308114810.GE39998@obiwan.tataz.chchile.org> In-Reply-To: <20080304125303.GA2619@ws64.jh.dy.fi> References: <20080304125303.GA2619@ws64.jh.dy.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jakko, On Tue, Mar 04, 2008 at 02:53:03PM +0200, Jaakko Heinonen wrote: > burncd(8) doesn't handle signals and interrupting burncd during > operation for example with SIGINT (^C) may leave the drive spinning and > locked. This may happen also if you try to write a too large image to a > disc and burncd(8) exits with an I/O error. > > Attached patch implements signal handling for burncd(8). It does > CDRIOCFLUSH ioctl to attempt leave burner sane state when burning is > interrupted with SIGHUP, SIGINT, SIGTERM or in case an I/O error occurs > during write. Blanking will still continue after interrupt but it seems > to finish correctly even after burncd(8) has quit. > > Relevant PR is bin/48730 which has an older version of the patch. Thank you for the work! This was quite annoying :-). Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080308114810.GE39998>