lsdvd won't work on DF 1.8

Kimura Fuyuki fuyuki at hadaly.org
Sat Feb 17 19:40:46 PST 2007


OK, I give up...

Could someone tell me why the following simple program fails to print a dvd 
title? It seems to read from offset 32768.  (block boundary?)

#include <stdio.h>
int main(void)
{
	FILE *fp;
	char buf[33];
	buf[32] = '\0';
	fp = fopen("/dev/acd0c", "r");
	fseek(fp, 32808, SEEK_SET);
	fread(buf, 1, 32, fp);
	puts(buf);
	return 0;
}





More information about the Users mailing list