Re: What's The Limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mikkel L. Ellertson wrote:
Steve Searle wrote:

Around 11:47pm on Monday, December 11, 2006 (UK time), Mike McCarty scrawled:


If I use cdrecord to write a file to a cd, how can i read it back.  Say
a text file?

Insufficient information. The cdrecord command has a lot of ways
to do what you specify. You need to post the exact command you
have in mind.

If you mean what I think you do, then you might need to use
dd.

You were correct Mike, dd did work.  I wrote the file with:
	$ cdrecord dev=/dev/hdb -dao test.txt

And copied it back with:
	$ dd if=/dev/hdb of=test2.txt

Cheers

Steve



Dumb question - what happens if you run something like
"cat /dev/hdb" or "less /dev/hdb"? I would think that
you could access the file contents that way.

But, since there is no file, there is no EOF. Using dd
lets you control how much data you pull. The other techniques
don't do that.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux