bin/123693: [patch] burncd(8): workaround for busy cd-writer
while ejecting
Alexander Best
alexbestms at math.uni-muenster.de
Sat Jan 10 00:20:03 PST 2009
The following reply was made to PR bin/123693; it has been noted by GNATS.
From: Alexander Best <alexbestms at math.uni-muenster.de>
To: <bug-followup at FreeBSD.org>
Cc: "Carlos A. M. dos Santos" <unixmania at gmail.com>
Subject: Re: bin/123693: [patch] burncd(8): workaround for busy cd-writer
while ejecting
Date: Sat, 10 Jan 2009 09:14:29 +0100 (CET)
This is a MIME encoded multipart message.
--+permail-200901100814296981cf3e00002fba-a_best01+
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
i adjusted your patch a bit. now the loop will break if the return value is
EIO e.g.
alex
--+permail-200901100814296981cf3e00002fba-a_best01+
Content-Type: text/plain
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename="burncdeject.patch.txt"
LS0tIHVzci5zYmluL2J1cm5jZC9idXJuY2QuYy5vcmlnCTIwMDktMDEtMDYgMDg6MDA6MzguMDAw
MDAwMDAwICswMDAwCisrKyB1c3Iuc2Jpbi9idXJuY2QvYnVybmNkLmMJMjAwOS0wMS0xMCAwOTow
NTo1OC4wMDAwMDAwMDAgKzAwMDAKQEAgLTMyMyw5ICszMjMsMTcgQEAKIAkJZXJyKEVYX0lPRVJS
LCAiaW9jdGwoQ0RSSU9DU0VUQkxPQ0tTSVpFKSIpOwogCX0KIAotCWlmIChlamVjdCkKLQkJaWYg
KGlvY3RsKGZkLCBDRElPQ0VKRUNUKSA8IDApCisJaWYgKGVqZWN0KSB7CisJCWludCBlcnJvciwg
cmV0cmllcyA9IDYsIGRlbGF5ID0gMTsKKwkJd2hpbGUgKChlcnJvciA9IGlvY3RsKGZkLCBDRElP
Q0VKRUNUKSkgPCAwICYmIHJldHJpZXMtLSA+IDApIHsKKwkJCWlmIChlcnJvciAhPSBFQlVTWSkK
KwkJCQllcnIoRVhfSU9FUlIsICJpb2N0bChDRElPQ0VKRUNUKSIpOworCQkJc2xlZXAoZGVsYXkp
OworCQkJZGVsYXkgKj0gMjsKKwkJfQorCQlpZihlcnJvciA8IDApCiAJCQllcnIoRVhfSU9FUlIs
ICJpb2N0bChDRElPQ0VKRUNUKSIpOworCX0KIAogCXNpZ25hbChTSUdIVVAsIFNJR19ERkwpOwog
CXNpZ25hbChTSUdJTlQsIFNJR19ERkwpOwo=
--+permail-200901100814296981cf3e00002fba-a_best01+--
More information about the freebsd-bugs
mailing list