• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help dd: ftruncate: invalid...on naugat

wert joe

Lurker
i tried to copy data using dd in terminal emulator app but i get 'dd:ftruncate error' when i specify the '-seek' argument in my command. please help me as the task is important.
 
i tried to copy data using dd in terminal emulator app but i get 'dd:ftruncate error' when i specify the '-seek' argument in my command. please help me as the task is important.
Please post EXACTLY what you typed (preferably using the [code] tag so we can see everything), EXACTLY what you're trying to accomplish, and EXACTLY what error message you received.

Just out of curiosity, why are you using dd?
 
Code:
busybox gzip -dc /data/local/sr0/*.gz | dd of=/dev/block/sda16 seek=8984375 bs=512 > /sdcard/IAB\ WORK/diskb.dd.rtn
it returns dd: ftruncate: Invalid argument
 
i need to to copy slices of a raw byte by byte data in the right order for the msdos filesystem the raw data cosists of to be intact after the copy. That means i use the -seek parameter to specify a slice's offset.
 
wipe kitchen shelves frequently to solve paint dust and mold issue in itensils and serving bowls' shelves.
Where did the 'seek' value come from?
seek=8984375

Are you sure it's valid?

And why is there a backslash?
/sdcard/IAB\
oh sorry i meant specifying offset when copying the slices of data to output file, that i use -seek. e.g. raw data B should be copied to offset n and C to n+n. The slash is to escape a blank space
 
with a linux livecd e.g. ubuntu, the command works but naugat is where the dd: ftruncate: error occurs. please help me as i need to do tasks
 
Back
Top Bottom