dd very strange.
this one could be very strange.
linux:/home/student/Desktop # mount 1.iso 1 -o loop linux:/home/student/Desktop # du 1 3 1/media.5 480910 1/suse/i586 215250 1/suse/noarch 696162 1/suse 696271 1 --------------------------------------------------------->>>see file size linux:/home/student/Desktop # du 1.iso 1504 1.iso -------------------------------------------------------->>see file size. linux:/home/student/Desktop # one 1.5MB data is now 696.2MB of data?how is this? |
If you downloaded the file then it might be incomplete. The iso9660 metadata is complete and telling you the files in that directory are actuall 600 MB in size but the ISO is incomplete and trying to access the file would fail.
You are free to try :) Greetings, Benjamin |
no no no .
i have not downloaded anythink . this this what i did. #dd if=/dev/hdc of=1.iso count=3000 it extract's only 1.5 of data to my 1.iso.when i mount it it shows 680MB.It is really a strange.is not it? |
no it is not strange. It is exactly the same as if you had only downloaded the first 1.5 MB. After that see my explanation above.
|
so is there any way to extract the first 150 MB of data from my full cd.
and also 150MB to 500MB of data using dd command. |
mount it using -o loop and then start copying.
Besides, maybe it would be easier if you just told us what you want to achieve. |
i want to copy a few MB's from my cd.but there is no virtual connection between my hdc and the data.( also i want to copy some portion of my
cd to my harddisk.)is this possible by dd or else any command. |
why not just mount the cd and copy the files over?
|
You use
dd if=/dev/hdc of=myfile.iso bs=2048 count=75000 conv=notrunc,noerror This will extract about the first 150 MB. An iso9660 sector is 2048 bytes. This is a sector for sector copy. |
what about copying 150 MB to 300 MB data of my cd.?thanks.
|
All times are GMT -5. The time now is 04:56 AM. |