In linux used...
dd if=/dev/sdg of=etrex30.img
ls -lh etrex30.img gives this size of the image file as 3.7GB
mount etrex30.img /mnt/loop -t vfat -r -o loop
df -h /mnt/loop gives the filesystem size as 1.9GB
mount /dev/sdg /mnt/etrex30
df -h /mnt/etrex30 gives the filesystem size as 1.9GB
I've checked in /etc/mtab and it shows /mnt/etrex30 is vfat
fdisk -l /dev/sdg says it's 3909MB
I mounted both /dev/sdg and etrex30.img file and used rsync -ncav to verify all the files are correct.
so why is the dd image size 3.7GB when the filesystem size is 1.9GB?
it looks like only part of the etrex30 storage is formatted
perhaps /dev/sdg contains the filesystem + image (where the image is what gets restored when a reset is done)? I.E. perhaps the filesystem does not use all the device storage?
I want to be sure that I can write the .img file back to the etrex30 if I want to restore it. Can anyone confirm if this will work?
Thanks.