BwackNinja / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
3 stars 0 forks source link

Can't Sync When Copying Data... #36

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi,

Something else I noticed related to copying data.

If I am copying data to a USB stick and have a USB hard drive plugged in I can click Unmount, but when I click on Sync, the task manager opens up, but the Sync process never stops.

I noticed SpaceFM won't allow the Sync process to complete while I'm transfering data to another device, but once the data transfer to the USB stick was complete, I was able to Sync the drive.

This seems odd that I can't Sync and remove a drive until data transfer is completed on the other.

By the way I hope you'll please reopen #33 Unless I'm mistaken by what IgnorantGuru said about Network Filesystems as I was copying locally.

Either way this has to be a design flaw, I have never seen one file manager in Linux not be able to calculate the data size and time of completion, maybe you both have, but I've never seen this...

I would hope to think there is a way to fix this, otherwise you have no idea what you are dealing with when transfering large amounts of data, and sitting and just wondering isn't very productive.

thank you

BwackNinja commented 9 years ago

Sync is for all filesystems, not just one. Refer to this discussion: https://github.com/IgnorantGuru/spacefm/issues/393 There aren't good ways around it other than avoiding the sync entirely - which is undesirable.

Regarding #33, it isn't whether it is a network filesystem that's important, but rather that it the thread timed out while trying to calculate the size of the transfer. While, yes, it is possible for us to eventually find out what the size of transfer and time of completion, we choose to have a timeout to avoid the extra I/O of checking when it seems like it would significantly slow down the transfer.

ghost commented 9 years ago

I've always just done Unmount & Sync I thought it was considered the proper way to remove a USB drive/stick in SpaceFM.

My reasoning is, from the cmd line manually you mount and unmount, and then I was told ages in the past, sync was good to do also, again, I'm talking about all these from the cmd line.

So coming from a cmd line background, I just figured to Unmount & Sync in SpaceFM.

I guess I'll try Remove/Eject and see how that goes for now.

I guess this transfer of large data, is going to depend on how you look at it, meaning, do people really use SpaceFM a lot, and if so, would these same people also do a lot of data transfers?

I personally use SpaceFM, probably around 60 hours a week, I sit and work full time in front of a computer and in that time I do a lot with SpaceFM, not just pleasure, but work, and I do transfer quite a bit of data. So I guess you could say, to simply put it, 'It Sucks' not knowing how long these transfers are going to take, just sitting scratching your head... I hope you can really see it from this perspective, it's not fun...

Thanks for your time BwackNinja...

BwackNinja commented 9 years ago

Given the last comment in that report, just an unmount should be sufficient. A Remove/Eject does a sync first, so it would give you the same results.

ghost commented 9 years ago

Ok I didn't know you should just do an Unmount.

Always thought you should sync afterwards.

thank you