How to create .iso file image of cdrom (atapi)?

Sergey 'DoubleF' Zaharchenko doublef at tele-kom.ru
Sun Jan 4 09:16:43 PST 2004


On Mon, 5 Jan 2004 02:51:12 +1030
"W. Sierke" <ws at au.dyndns.ws> probably wrote:

> "Scott Mitchell" wrote:
> > You want to use /dev/acd0c - the 'c' partition covers the whole disk.

Yes, for those devices which are disklabel(8)'d.

> > Something like:
> >
> > dd if=/dev/acd0c of=foo.iso bs=64k
> 
> Ah! Thanks for that. The bs argument is crucial, I hadn't thought to try
> anything further when without it I got:
> 
> dd: /dev/acd0c: Invalid argument
> 
> I let myself be led astray into thinking that there must be something amiss
> with using that device.

That is because the default block size is 512 bytes, and cdroms only
support (multiples of) 2048 bytes.

> So if the 'c' partition is the whole disk, what's
> the 'a' partition, out of curiosity?

$ ls -l /dev/acd0a /dev/acd0c 
crw-r-----  4 root  operator  117,   0  4 янв 19:47 /dev/acd0a
crw-r-----  4 root  operator  117,   0  4 янв 19:47 /dev/acd0c

The nodes seem to be completely identical. The reason for `a''s creation
is some sort of compatibility, I think...

> 
> 
> Thanks,
> 
> Wayne
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


-- 
DoubleF
"Have you lived here all your life?"
"Oh, twice that long."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040104/e1625f37/attachment.bin


More information about the freebsd-questions mailing list