DragonFly users List (threaded) for 2007-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: lsdvd won't work on DF 1.8
On Sun, Feb 18, 2007 at 02:03:22PM +0900, Kimura Fuyuki wrote:
> On Sunday 18 February 2007, Dmitri Nikulin wrote:
> > On 2/18/07, Kimura Fuyuki <fuyuki@hadaly.org> wrote:
> > >
> > > Could someone tell me why the following simple program fails to print a
> > > dvd title? It seems to read from offset 32768. (block boundary?)
[snip]
> On my DF1.8/nata installation, it doesn't.
Your code displays "CD001" on my DF1.9/old-ata system. However, the
string "CD001" (probably \x01 appears to be blank) is at offset 32769
and not 32808. So this may be a bug in libc and not the ata/nata driver.
$ dd if=/dev/acd0c bs=2048 count=1 iseek=16 |hd -vn 64
1+0 records in
1+0 records out
00000000 01 43 44 30 30 31 01 00 20 20 20 20 20 20 20 20 |.CD001.. |
00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000020 20 20 20 20 20 20 20 20 52 44 58 53 35 33 53 54 | RDXS53ST|
00000030 4a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |J |
00000040
2048 bytes transferred in 0.010183 secs (201118 bytes/sec)
Cheers.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]