Date: Tue, 5 Oct 1999 21:46:16 +0600 (ESS) From: Ilia Chipitsine <ilia@cgilh.chel.su> To: Alex Bulygin <sysop@komanda.com.ua> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to check CD image? Message-ID: <Pine.BSF.4.10.9910052136100.383-100000@localhost.cgu.chel.su> In-Reply-To: <Pine.BSF.3.96.991005144009.21887B-100000@silver.komanda.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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/<anyuser>/cd-image.md5
8. build checksums for original CD (say, it's mounted at /cdrom)
# cd /cdrom
# find ./ -name "*" -exec md5 '{}' ';' >> /home/<the-same-user>/cd.md5
9. finally !!!
# cd /home/<that-user>
# 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910052136100.383-100000>
