[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd on CDROM?
On Wed, Oct 31, 2001 at 10:55:41AM +0000, Peter Fairbrother wrote:
> Is there some way to read blocks on a cdrom, eg using dd if=/dev/cd0a etc,
> without unmounting the CD?
>
> I want to read numbered blocks, but as the CD has dd (and root, no HDD) on
> it I can't easily unmount it. Using dd if=/cdrom doesn't work (NetBSD reads
> the first 2k), and if I use dd if=/dev/cd0a when mounted I get "device
> busy".
I think your 2k problem is you need a bs=32k in your dd command. Don't know
about the rest, though.
-Dan
--
"Burnished gallows set with red
Caress the fevered, empty mind
Of man who hangs bloodied and blind
To reach for wisdom, not for bread." -- Deoridhe Grimsdaughter
- References:
- dd on CDROM?
- From: Peter Fairbrother <peter.fairbrother@ntlworld.com>