*BSD News Article 82237


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!uct.uni.net.za!csir.uni.net.za!wits.uni.net.za!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Read/Write CDROM strategy
Date: 4 Nov 1996 04:10:26 -0000
Organization: Coverform Ltd.
Lines: 35
Sender: brian@awfulhak.demon.co.uk
Message-ID: <55jqbi$1ta@anorak.coverform.lan>
References: <kxrE02F6o.CGu@netcom.com>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <kxrE02F6o.CGu@netcom.com>,
	kxr@netcom.com (Keith Rich) writes:
: 
: I think I could use a Read/Write CDROM to do backup, but I'm not sure
: about the strategy to use.  I think the write has to happen all at once,
: so I think I want to dd from a disk image to the raw device.  I imagine
: having a disk image the same size as the CDROM, and probably on a scratch
: disk.  So, it would work like this.
: 
:   put the stuff to be backed up on the scratch disk
:   dd if=/dev/raw_disk of=/dev/raw_cdrom
: 
: The intent here is to end up with a CDROM that can be mounted and looked
: at directly rather than having to restore it to disk first.
: 
: Now come the hard questions.
: 
:   Do I copy the partition stuff as well as the filesystem?
:   Can I backup both dos and unix stuff unto the same CDROM?
:   Can I end up with a CDROM that I can boot from?
:   What about bad blocks?  Can I get bad block info off the CDROM first?
:   Are there any limits that will preclude the whole idea?
:   Has anybody tried this yet?
:   What hardware issues are relevant (e.g.: ide versus scsi)?
: 
: Comments?

Have a look at "mkisofs".  Once you've built your 9660 filesystem, I think
you've gotta look at J"org's "od" driver.

-- 
Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.