Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 12:10:59 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        "Gary W. Swearingen" <swear@attbi.com>, FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: Seeking command similar to dd
Message-ID:  <20021117201059.GF1182@vectors.cx>
In-Reply-To: <20021117143949.A80685-100000@earl-grey.cloud9.net>
References:  <t6ptt6edo8.tt6@localhost.localdomain> <20021117143949.A80685-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> (11.17.2002 @ 1156 PST): Peter Leftwich said, in 2.1K: <<
> On 15 Nov 2002, Gary W. Swearingen wrote:
> > Peter Leftwich <Hostmaster@Video2Video.Com> writes:
> > > Is there a command similar to "dd" to analyze a CD that is in the drive?
> > I use the "dd bs=2k" command on ISO 9660 CDs.
> 
> Is there more to that command line?  Or does it let you browse RAW data?

If the CD is all data (i.e. just one track):
	dd if=/dev/cdrom of=cd.iso bs=2048
If the CD is multiple tracks:
	for i in `/compat/linux/usr/bin/seq 1 100`; do
	    dd if=/dev/acd0t$i of=track$i.cdr bs=2352;
	done

Please see http://www.freebsd.org/doc/handbook/creating-cds.html,
section 12.5.5.

> Does it sound like not having put "fixate" on the end has made this CD
> never again readable?  It's ok because I archived the data anyways.  But
> please comment.

No, you can fixate it later.

> Thanks for the tip.  Is there a command line that makes the CD bootable in
> any drive?  For example, I've read the manpage and it looks as though you
> can add -h for Macs and HFS, and -r for RockRidge extensions which get
> around 8.3 format and... a couple other filename affecting flags...?

mkisofs can have multiple superblock definitions provided. String
together as many as you want, and just understand that it'll decrease
the amount of data you can store on the drive.

# Adam


- --
Adam Weinberger
adam@vectors.cx
adamw@FreeBSD.ORG

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE91/fSo8KM2ULHQ/0RAiFQAKCRJZnSbyCJwgREkhzhTQQkspNvMwCdEmXd
feG93l4sjR3Gee8XJm9faPU=
=pWs0
-----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?20021117201059.GF1182>