From owner-cvs-all Fri Jan 7 5:36:14 2000 Delivered-To: cvs-all@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 6700514E5D; Fri, 7 Jan 2000 05:36:07 -0800 (PST) (envelope-from darius@dons.net.au) Received: from dons.net.au (guppy.dons.net.au [203.31.81.9]) by midget.dons.net.au (8.9.3/8.9.1) with ESMTP id AAA23211; Sat, 8 Jan 2000 00:05:55 +1030 (CST) (envelope-from darius@dons.net.au) Message-ID: <3875EBA2.51CCF3B8@dons.net.au> Date: Sat, 08 Jan 2000 00:05:30 +1030 From: "Daniel O'Connor" X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Soren Schmidt Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, sos@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/burncd burncd.c References: <200001071312.OAA94748@freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Soren Schmidt wrote: > Hmm, thats not foolproof either. What would you set it to ? The default? :) (Power on default..) > The problem is that I need to get the driver to be able to read > all formats (ie different blocksizes) for some of the things I > have in the pipeline (reading of all CD formats, packet, DVD-RAM), > but I need to tell the driver the size up front, or the read will fail. > So the caller will have to set the blocksize to what it wants, and > if close resets it, it would then have to do it on each open, which > is not desireable on mounts fx. Hmm.. basically I was just wondering if you could end up in a state where you nuked a cdburning with -9 and consequently couldn't mount a CD. > Another thing is that it is very unwise to kill the burning process, > it is garantied to leave the medium useless, that was why I'd do > signal catching to prevent that. Well, there are reasons for stopping a burn even if you are going to screw the disk up.. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message