From owner-freebsd-questions Tue Oct 5 9:57:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.surnet.ru (mobil.surnet.ru [195.54.2.7]) by hub.freebsd.org (Postfix) with ESMTP id E965E155DC for ; Tue, 5 Oct 1999 09:57:07 -0700 (PDT) (envelope-from ilia@cgilh.chel.su) Received: (from uucgilh@localhost) by mobil.surnet.ru (8.9.1a/8.9.1) with UUCP id VAA13287; Tue, 5 Oct 1999 21:54:10 +0500 (UST) Received: (from uucp@localhost) by cgilh.chel.su (8.8.7/8.8.7) with UUCP id WAA01110; Tue, 5 Oct 1999 22:03:56 +0600 Received: from localhost (ilia@localhost) by localhost.cgu.chel.su (8.9.3/8.9.2) with ESMTP id VAA02083; Tue, 5 Oct 1999 21:46:20 +0600 (ESS) (envelope-from ilia@cgilh.chel.su) X-Authentication-Warning: localhost.cgu.chel.su: ilia owned process doing -bs Date: Tue, 5 Oct 1999 21:46:16 +0600 (ESS) From: Ilia Chipitsine X-Sender: ilia@localhost.cgu.chel.su To: Alex Bulygin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to check CD image? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- On Tue, 5 Oct 1999, Alex Bulygin wrote: > > Hi folks! > > In the man page for Cdrecord there are some lines about how to check > CD image on Solaris and Linux. However no any hints > about FreeBSD. Or I misunderstand something? There are number of ways to do it. Here's the simpliest one (from my point of view) .... 1. I suppose that you have "super.iso" as an image. 2. # vnconfig /dev/vn0c super.iso 3. wait ! you must have vn - pseudo device compiled into your kernel. (vn device allows you to turn regular files into special block device files, similar to "-o" option of Linux-mount) 4. make sure you have /dev/vn0c, if not .. # cd /dev # ./MAKEDEV vn0c 5. choose some spare folder (say /mnt1) and mount your image there: # mount -t cd9660 /dev/vn0c /mnt1 6. now you have that image (super.iso) mounted at /mnt1 7. build checksums for CD-image: # cd /mnt1 # find ./ -name "*" -exec md5 '{}' ';' >> /home//cd-image.md5 8. build checksums for original CD (say, it's mounted at /cdrom) # cd /cdrom # find ./ -name "*" -exec md5 '{}' ';' >> /home//cd.md5 9. finally !!! # cd /home/ # diff cd-image.md5 cd.md5 10. that's it > > CD writer Yamaha4416CW, FreeBSD 3.3.2-stable, cdrecord and mkisofs from > packages. > > Thanks for any idea. > > TIA, Alex. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Regards, Ilia Chipitsine -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQB1AwUBN/odS+RxlWKN2EXhAQH+bgMAuHIummXjXGhaeVTwUKOKSHxhmnTLGrg+ rde4Hz5XS4CfrSWUDKxoJ3r8J/vuf/mMrpytkvOy0Ge0987Vjsf+My43Q53xTkLe FRD4KYqy9l14cjK0AAUdljllgfBCYWbs =PD4x -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message