Hi everybody, I have some files i want to have available on both windows and linux. As windows is not able to access ext3 partitions i have made a script i run on boot and on shutdown of linux. /d is the mountpoint of my fat32 partition, the root FS is ext3.
[EMAIL PROTECTED]:~/bin# cat put_files #! /bin/sh echo "Copying updated files from linux to windows" rsync -vrtuo /home/cedric/rsync/ /d/rsync/ [EMAIL PROTECTED]:~/bin# cat get_files #! /bin/sh echo "Copying updated files from windows to linux" rsync -vrtuo /d/rsync/ /home/cedric/rsync/ At every boot of linux (and at every remount of my fat32 partition) put_files copies some files from my ext3 partition to my fat32 partition even when they are not changed. Rsyncing between 2 ext3 partitions goes without any problems. [EMAIL PROTECTED]:~/bin# rsync --version rsync version 2.6.3 protocol version 28 [EMAIL PROTECTED]:~/bin# umount /d [EMAIL PROTECTED]:~/bin# mount /d [EMAIL PROTECTED]:~/bin# /root/bin/put_files <some files get copied> sent 3523986 bytes received 340 bytes 7048652.00 bytes/sec total size is 46164730 speedup is 13.10 [EMAIL PROTECTED]:~/bin# /root/bin/put_files Copying updated files from linux to windows building file list ... done sent 12604 bytes received 20 bytes 25248.00 bytes/sec total size is 46164730 speedup is 3656.90 Greets, Cedric -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
