> I'm having a problem reading some files (mostly binary data files)
> from the Jaz disk on the Sun work-station. These files were
> orginally written on a PC. Later, when the Jaz disk was moved to the
> Sun (Solaris 2.4) its gives the following error:
> % cp t1d97026.spc /tmp
> corrupted PC file system on dev 0x800022
> cp: t1d97026.spc: I/O error
PC filesystem is 512 Bytes?
The Sun PC filsystem code is horrorly broken. It works only by
accident if the logical sector size of a filesystem, is 512 bytes.
If you are interested in the reason, here it is:
Sun computes the sector offset for xxx_strategy (based on 512 Bytes sectors)
by adding numbers based on 512 Byte sector size and numbers based on the
logical sector size and then multiplying the result with the factor
logical size/ 512bytes. This results in wrong filesystem offsets for the
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix