chiark / gitweb /
cdrom_id: request the drive profile features with a dynamic length
authorHarald Hoyer <harald@redhat.com>
Thu, 7 Oct 2010 15:02:21 +0000 (17:02 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 7 Oct 2010 15:43:05 +0000 (17:43 +0200)
commitd7cd2b16110c806128747ee245aaa883dd52039d
tree17bb6d7c144febf6aa09059d5f5886ea6619e423
parentd7628fbfcd04727cfd229c0a8a2f084b8c531ab6
cdrom_id: request the drive profile features with a dynamic length

Some drives don't like huge feature buffers, so we query twice. First
run for the current profile and to get the length.
Second time we query the whole profile feature set.
extras/cdrom_id/cdrom_id.c