[svlug] Everything is a file o.O

James Sparenberg james at linuxrebel.us
Sun Jul 10 19:56:47 PDT 2005


On Sun, 2005-07-10 at 18:25 -0700, Rick Moen wrote:
> Quoting Julian Snitow (jsnitow at gmail.com):
> 
> > To my delight, running ``md5sum /dev/cdrom''   gives the correct
> > checksum for the iso image.
> 
> Isn't that cool?
> 
> > Is there any reason why I couldn't or shouldn't just do ``cp 
> > /dev/cdrom  foo.iso'' to get the iso image?
> 
> Should work.  I do the analogous action with "cat", and it works fine
> every time.
> 


Ok this time .... I'll type ... sigh.....   

If had problems with cp (or cp -a) in that the result is not an iso9660
file system but rather a copy of the iso on (in my case) a reiserfs dir.
I prefer to use

dd if=/dev/cdrom of=~/myiso.iso  


Works well for both CD's and DVD's 

James






More information about the svlug mailing list