+++ Narayanamoorthy Srinivasan [2004-11-02 10:10:32]:

> CD is partially written and I can understand that reading beyond that
> gives I/O error. While giving following command with blocks
> 
> [EMAIL PROTECTED] root]# dd if=/dev/cdrom of=/dev/null count=2392
> 2392+0 records in
> 2392+0 records out
> 
> Here I have specified the blocks in "count" parameter. My question is,
> is there any way to find the bytes currently used in CD so that I can
> specify in "dd" command.

bs=512 by default .. so 512*2392 = total number of bytes used.

BTW your method is not fool proof... most copy protected CDs will fail the
test! though they are perfectly okay.

Kingsly

-- 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to