Can you try this patch to src/usr.sbin/burncd, and see if things work
after that? Thanks! (BTW, there's also an extra feature in there, hope
you don't mind :)
--
Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! /
[EMAIL PROTECTED] `------------------------------'
Index: burncd.c
===================================================================
RCS file: /usr2/ncvs/src/usr.sbin/burncd/burncd.c,v
retrieving revision 1.4
diff -u -r1.4 burncd.c
--- burncd.c 2000/01/15 15:51:47 1.4
+++ burncd.c 2000/01/16 03:56:18
@@ -38,8 +38,9 @@
#include <sys/ioctl.h>
#include <sys/cdio.h>
#include <sys/cdrio.h>
+#include <sys/stat.h>
-#define BLOCKS 32
+#define BLOCKS 16
static int fd, saved_block_size;
void cleanup(int);
@@ -142,8 +143,13 @@
err(EX_IOERR, "ioctl(CDRIOCNEXTWRITEABLEADDR)");
if (!quiet) {
+ struct stat sb;
+
+ if (fstat(file, &sb) < 0)
+ err(EX_IOERR, "fstat(%s)", argv[arg]);
fprintf(stderr, "next writeable LBA %d\n", addr);
- fprintf(stderr, "writing from file %s\n", argv[arg]);
+ fprintf(stderr, "writing from file %s - %d KB\n",
+ argv[arg], sb.st_size / (1 << 10));
}
lseek(fd, 0, SEEK_SET);
size = 0;
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message