]> err.no Git - systemd/commit
ata_id: skip ATA commands if we find an optical drive
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 20 Nov 2009 02:03:27 +0000 (03:03 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 20 Nov 2009 02:03:27 +0000 (03:03 +0100)
commit160b069c25690bfb0c785994c7c3710289179107
tree4bda3e40a9a9e533775c2cea5afebd88a7c8cc50
parentecf61aa7fdb5b7e9e19f06584caee9b5eb1c7350
ata_id: skip ATA commands if we find an optical drive

Some drives are reported to erase CD-RW media with the ATA
commands we send.

Thanks to Christoph Stritt <phoenix@jobob.com> for his debugging.

Original bug is here:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556635
extras/ata_id/ata_id.c