Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2009 13:13:41 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: How To Copy DVD to ISO File
Message-ID:  <4A8C5CF5.2040104@mykitchentable.net>
In-Reply-To: <9598E097-F552-4E66-B53B-5EA2CDF05E4F@lassitu.de>
References:  <4A8C5475.3020205@mykitchentable.net> <9598E097-F552-4E66-B53B-5EA2CDF05E4F@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Bethke wrote:
> Am 19.08.2009 um 21:37 schrieb Drew Tomlinson:
>
>> I'm using 8.0-BETA2 and have a SATA DVD drive.  I'd like to take a 
>> DVD and create an ISO file from it.  I have not done this before on 
>> FreeBSD.
>>
>> I've googled and it appears it should be as simple as:
>>
>> dd if=/dev/<dvd drive> of=/path/to/ISO
>>
>> So I figured out that my DVD drive is seen as /dev/acd0 and verified 
>> that it's accessible with "mount -t 9660 /dev/acd0 /mnt".  After 
>> doing so, I can 'ls' files on /mnt.  Then I unmounted the drive.
>>
>> So to create my ISO, I issued this command:
>>
>> dd if=/dev/acd0 of=DVD.iso
>>
>> But get this output:
>>
>> dd: /dev/acd0: Invalid argument
>> 0+0 records in
>> 0+0 records out
>> 0 bytes transferred in 0.000132 secs (0 bytes/sec)
>>
>> I googled some more and thought that loading atapicam.ko might help.  
>> But yet I get the same error when using /dev/cd0.
>>
>> So what am I doing wrong?
>
> The driver only supports reads of blocksized chunks, so:
> $ dd if=/dec/acd0 bs=2048 ...
> should work.

Thanks!  That was it.  I'm usually getting snagged by some sort of 
"BS"...  :)

Cheers,

Drew


-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8C5CF5.2040104>