summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-12-19 20:20:14 +0000
committerobrien <obrien@FreeBSD.org>2008-12-19 20:20:14 +0000
commit9cb8693afe328ae55dc576c27633f512b5da9020 (patch)
tree9781a965909e7361155101b3e8909cb9a0bb6076 /usr.sbin/makefs
parent04b1d503e162172ac1f99cab401b24577008d8a5 (diff)
downloadFreeBSD-src-9cb8693afe328ae55dc576c27633f512b5da9020.zip
FreeBSD-src-9cb8693afe328ae55dc576c27633f512b5da9020.tar.gz
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>
Diffstat (limited to 'usr.sbin/makefs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud