#42 phgfsck chokes over /dev/scd$n

open
nobody
None
1
2004-08-12
2004-08-12
Pat LaVarre
No

The phgfsck (a.k.a. "The Philips UDF Verifier") chokes
over /dev/scd$n.

To run that fsck, you have to provide a /dev/sg$n name
for your device, else create an image of your whole disc.

This should not be.

SCSI pass thru via ioctl CDROM_SEND_PACKET works for
DVD/ CD in both Linux 2.6 and 2.4. And in 2.6, SCSI
pass thru via ioctl SG_IO works for /dev/scd$n, not
just for /dev/sg$n.

We're stuck because, as yet, the phgfsck source, and
other SCSI pass thru sources on the web, are neither
"open" nor "free", when we define those words
conventionally as in:

http://www.opensource.org/docs/definition.php
http://www.gnu.org/philosophy/free-sw.html

Someone needs to try an LGPL donation of SCSI pass thru
into the phgfsck, else create an entirely open udf fsck
for Linux.

Discussion