What is the syntax to gzip a tar system and handle symbolic links properly?
I tried this:
sudo gzip -r /home/z3/ti-ezsdk_dm816x-evm_5_05_01_04/targetfs/fs
gzip: …/targetfs/fs/usr/bin/top: Too many levels of symbolic links
gzip: …/targetfs/fs/usr/bin/mesg: Too many levels of symbolic links
gzip: …/targetfs/fs/usr/bin/lastb: Too many levels of symbolic links
Bcckground:
I have been developing my board using tftp boot loading of the uImage and NFS loading of the file sys.
Now that development is done, what is the easiest method to copy the filesystem to /dev/sda2 ?
I think something like this should work
mkdir -p /mnt/part2
mount /dev/sda2 /mnt/part2
tar xvf fs.tar.gz -C /mnt/part2/
Thanks in advance,
-Ed