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

next in thread | previous in thread | raw e-mail | index | archive | help
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.


Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9598E097-F552-4E66-B53B-5EA2CDF05E4F>