grsync wants to copy ~/.wine files all the time.

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Flemur
Level 16
Level 16
Posts: 6196
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

grsync wants to copy ~/.wine files all the time.

Post by Flemur » Sat Jun 16, 2018 5:24 pm

I have a data partition with ~/.wine on it, and those files get copied ... too often? I run wine programs all the time.

If I understand it, the "f..t" means "file" and "time" - if so, why do hundreds of windows files get copied when I "grsync" my data partition? (~/.wine is a link to it). No other files act like this...does wine "touch" them when they're used? It's from an ext4 partition to another ext4 partition on a USB drive.

Code: Select all

rsync output:
>f..t...... wine32/drive_c/windows/command/start.exe
>f..t...... wine32/drive_c/windows/system/ddeml.dll
>f..t...... wine32/drive_c/windows/system/mmsystem.dll
.d..t...... wine32/drive_c/windows/system32/
>f..t...... wine32/drive_c/windows/system32/acledit.dll
>f..t...... wine32/drive_c/windows/system32/aclui.dll
>f..t...... wine32/drive_c/windows/system32/activeds.dll
>f..t...... wine32/drive_c/windows/system32/actxprxy.dll
>f+++++++++ wine32/drive_c/windows/system32/adsldp.dll
...
>f..t...... wine32/drive_c/windows/system32/crtdll.dll
>f..t...... wine32/drive_c/windows/system32/crypt32.dll
>f..t...... wine32/drive_c/windows/system32/cryptdlg.dll
>f..t...... wine32/drive_c/windows/system32/cryptdll.dll
...hundreds more...
This is the fstab line for the SSD (from) data partition:

Code: Select all

$ mount | grep DATA
/dev/sda6 on /mnt/DATA type ext4 (rw,noatime,stripe=32738,data=ordered)
This is the USB partition:

Code: Select all

$ mount | grep EXT
/dev/sdb1 on /media/<username>/USB_EXT4 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
WharfRat
Level 20
Level 20
Posts: 11710
Joined: Thu Apr 07, 2011 8:15 pm

Re: grsync wants to copy ~/.wine files all the time.

Post by WharfRat » Sat Jun 16, 2018 6:56 pm

You didn't show the most important piece of the puzzle, namely the rsync directive.

It could be the time stamp difference with windows if wine is a true emulator.

From the rsync man page

--modify-window
When comparing two timestamps, rsync treats the timestamps as being equal if they differ by no more than the modify-window value. This is normally 0 (for an exact match), but you may find
it useful to set this to a larger value in some situations. In particular, when transferring to or from an MS Windows FAT filesystem (which represents times with a 2-second resolution),
--modify-window=1 is useful (allowing times to differ by up to 1 second).
ImageImage

User avatar
Flemur
Level 16
Level 16
Posts: 6196
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: grsync wants to copy ~/.wine files all the time.

Post by Flemur » Sat Jun 16, 2018 7:14 pm

WharfRat wrote:
Sat Jun 16, 2018 6:56 pm
You didn't show the most important piece of the puzzle, namely the rsync directive.
--modify-window=1 is useful (allowing times to differ by up to 1 second).
Thanks, I already have that set (I forget to include it in 1st post):
grsync -> File -> rsync command line:

Code: Select all

rsync -r -t -p -o -g -x -v --progress --delete -l -H -i -s --exclude=.Trash-1000 --exclude=lost+found --modify-window=1 /mnt/DATA/ /media/<username>/USB_EXT4/DATA/
I'm trying to see when it wants to copy those "system32"-type files; after running foobar/photoshop/audition, grsync only wants to copy some foobar/photoshop/audition files, which makes sense.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
WharfRat
Level 20
Level 20
Posts: 11710
Joined: Thu Apr 07, 2011 8:15 pm

Re: grsync wants to copy ~/.wine files all the time.

Post by WharfRat » Sat Jun 16, 2018 7:37 pm

You can eliminate some of the options using the -a or --archive imstead of -r -t -p -o

Try the -u option (skip files that are newer on the receiver)
ImageImage

Post Reply

Return to “Software & Applications”