Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2008 20:20:14 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.sbin/burncd Makefile burncd.c
Message-ID:  <200812192020.mBJKKV27064726@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
obrien      2008-12-19 20:20:14 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/burncd      Makefile burncd.c 
  Log:
  SVN rev 186337 on 2008-12-19 20:20:14Z by obrien
  
  burncd(8) doesn't handle signals and interrupting burncd during operation.
  For example, ^C (SIGINT) may leave the drive spinning and locked.
  This may also happen if you try to write a too-large image to a disc
  and burncd(8) exits with an I/O error.
  
  Add signal handling by doing a CDRIOCFLUSH ioctl to attempt to leave
  burner in a sane state when burning is interrupted with SIGHUP, SIGINT,
  SIGTERM, or in case an I/O error occurs during write.
  Note, that blanking will still continue after interrupt but it seems to
  finish correctly even after burncd(8) has quit.
  
  Also, while I'm here bump WARNS to "6".
  
  PR:             48730
  Submitted by:   Jaakko Heinonen <jh@saunalahti.fi>
  
  Revision  Changes    Path
  1.9       +1 -1      src/usr.sbin/burncd/Makefile
  1.46      +36 -5     src/usr.sbin/burncd/burncd.c



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