Dear All,

 

I have check the OpenTom Ttimgextract web page. And extract ttsystem to
linux system temp folder. How can I using the cpio command to 'pack' the
folder and files back to ttsystem.cpio format?

 

For example: 

cd /tmp

./ttimgextract ttsystem

gzip -d -c ttsystem.1 > ttsystem.cpio

cpio -I -v < ./ttsystem.cpio

 

drwxr-xr-x  2 root root 4096 Feb 11 15:03 bin

drwxr-xr-x  6 root root 4096 Feb 11 15:03 dev

drwxr-xr-x  4 root root 4096 Feb 11 15:03 etc

lrwxrwxrwx  1 root root    6 Feb 11 15:03 init -> etc/rc

drwxr-xr-x  3 root root 4096 Feb 11 15:03 lib

drwxr-xr-x  5 root root 4096 Feb 11 15:03 mnt

drwxr-xr-x  2 root root 4096 Feb 11 15:03 proc

drwxr-xr-x  2 root root 4096 Feb 11 15:03 sbin

drwxr-xr-x  2 root root 4096 Feb 11 15:03 sys

drwxrwxrwt  2 root root 4096 Feb 11 15:03 tmp

drwxr-xr-x  6 root root 4096 Feb 11 15:03 var

 

Now I try to 'pack' the folder and files back to ttsystem.new.cpio. But it's
seems the cpio command can't handle the softlink.

 

Best regards,

Kevin

 

Reply via email to