Glass
12-27-2005, 18:23
Rsync is an amazing tool for mirroring and backing up files. I decided to put it to use for my x5L. I created a Bash script to rsync the files on my hard drive to the iAudio.
iaudio.sh:
#!/bin/sh
MOUNT="/mnt/iaudio"
RSYNC="rsync --delete --modify-window=1 -rtv"
$RSYNC /data/audio/ $MOUNT/music/
This was working well, but it was trasfering all of the files on each sync, not just the changes. I then realized that the fs of the iAudio was vfat. I located an article detailing the issues with vfat and rsync:
http://www.osnews.com/story.php?news_id=9681&page=3
After altering my fstab entry for the iAudio, I solved the problem.
/etc/fstab:
/dev/sda1 /mnt/iaudio vfat shortname=mixed,defaults,noauto 0 0
I love the iAudio, it's a great product. Hopefully this process will improve someone else's experiences with it as well.
iaudio.sh:
#!/bin/sh
MOUNT="/mnt/iaudio"
RSYNC="rsync --delete --modify-window=1 -rtv"
$RSYNC /data/audio/ $MOUNT/music/
This was working well, but it was trasfering all of the files on each sync, not just the changes. I then realized that the fs of the iAudio was vfat. I located an article detailing the issues with vfat and rsync:
http://www.osnews.com/story.php?news_id=9681&page=3
After altering my fstab entry for the iAudio, I solved the problem.
/etc/fstab:
/dev/sda1 /mnt/iaudio vfat shortname=mixed,defaults,noauto 0 0
I love the iAudio, it's a great product. Hopefully this process will improve someone else's experiences with it as well.