summaryrefslogtreecommitdiff
path: root/doc/READMEs/README.verify
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-12-31 05:04:42 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-12-31 05:04:42 +0400
commit71dc8760ff4de5f365330d1bc571d934deb54af9 (patch)
tree7346d42a282562a3937d82307012b5857d642ce6 /doc/READMEs/README.verify
downloadcdrkit-upstream.tar.gz
Imported Upstream version 1.1.11upstream/1.1.11upstream
Diffstat (limited to 'doc/READMEs/README.verify')
-rw-r--r--doc/READMEs/README.verify75
1 files changed, 75 insertions, 0 deletions
diff --git a/doc/READMEs/README.verify b/doc/READMEs/README.verify
new file mode 100644
index 0000000..28227b7
--- /dev/null
+++ b/doc/READMEs/README.verify
@@ -0,0 +1,75 @@
+Mini-Howto for verifying a selfmade CD
+
+1) verifying the data layer
+
+ To verify if all data on the disk can be read,
+ use SCSI verify. This can be done with the
+ sformat utility.
+
+ use: sformat -verify [target] [lun] [scsibus]
+
+ If the CD-R device is connected to target 2 on SCSI bus 0
+ sformat -verify 2 0
+
+ sformat can be found on ftp://ftp.berlios.de/pub/sformat
+
+ NOTE: Not all CD-ROm drives support verifying
+ NOTE: All TAO tracks end in 2 unreadable run-out sectors
+
+2) verifying the filesystem layer
+
+ A quick check is to mount the CD and to use star to read
+ all files on the filesystem.
+
+ mount -r /dev/cdrom /cdrom (modify for your OS)
+ cd /cdrom
+ star -cPM . >/dev/null
+
+ If no errors can be found, all files are readable.
+
+ star can be found on ftp://ftp.berlios.de/pub/star
+
+
+ You also may want to compare the filesystem on the CD
+ with the original data. This can be done with star too.
+
+
+ (cd /master_for_cd; star -cPM .)|(cd /cdrom; star -diff -v)
+
+2a) verifying the iso image before creating the CD
+
+ You may check the filesystem image by mounting it with my
+ "fbk" on Solaris or the loopback driver on Linux.
+
+ On Linux type:
+ mount isoimage.raw -r -t iso9660 -o loop /mnt
+
+ On SunOS type:
+ mount -r -F fbk -o type=hsfs /dev/fbk0:isoimage.raw /mnt
+
+For Solaris 8 and later you may also use the Sun lofi driver (see README.sun-lofi)
+
+ The check the filesystem with:
+
+ (cd /master_for_cd; star -cPM .)|(cd /mnt; star -diff -v)
+
+
+Solaris has a bug with hardlinks. It generates different inode numbers
+for the hardlinks to a file. This makes it impossible for star to
+check hard links. Use
+
+(cd /master_for_cd; star -cPM .)|(cd /cdrom; star -diff -v diffopts=!hardlink)
+
+in this case.
+
+NOTE: Some operating systems have a read ahead bug that causes I/O errors for
+the last file(s) on a CD. This seems at least to be true for all Linux versions
+and for Solaris 7 FCS. For Solaris 7 there is a patch (107465-02) that you should
+install. This I/O error problem does not occur with DAO disks and with TAO disks
+that have been written with wodim -pad.
+
+Joerg Schilling
+
+Source: README.verify from cdrtools package
+Edited for cdrkit by Christian Fromme <kaner@strace.org> and Eduard Bloch
+