On Fri, Apr 05, 2013 at 06:09:11PM EDT, Alan McKinnon wrote: > On 05/04/2013 23:49, Damien Radtke wrote: > > But if Enlightenment tells me that the copy is done, what am I supposed to > > do to ensure that pulling out the flash drive doesn't result in file > > corruption? > > That depends on what exactly Enlightenment is telling you. When a file > is copied, the source file is read into memory and from there it is > written out to disk. If the source is on a regular disk drive, this is > much faster than writing it to flash sticks. > > Badly written widgets often claim the copy is done when the source has > been read in. KDE did this to me often - the progress bar used to claim > the copy was 100% for big video files then a few minutes later I'd get a > notification that the transfer was really complete. It got much worse > with a new laptop with 16G RAM (even entire Bluray rips often fit into RAM!) > > There are three tricks I use: > > a. Use gkrellm and have a monitor on the destination drive. The graph > shows when the system is really finished writing to the stick > b. Run "sync" in a terminal. When this command completes, all pending > writes are finished. (I hope this is still true for modern kernels and > modern drives with their sophisticated drive firmware). > c. maybe your stick has an LED that stops flashing when it is done writing. > > This is not an Enlightenment problem, it is how hardware works and every > Operating System in the world somehow has to deal with this issue. It is > nowhere near as simple as people think it is. > > Remember the Windows 98 copy progress bar that everyone made so much fun > of? That wasn't really Window's fault - it was trying to show progress > of something it could not possibly know. No wonder it was so often wrong. > > > > > > > > On Fri, Apr 5, 2013 at 10:56 AM, Alan McKinnon > > <[email protected]>wrote: > > > >> On 05/04/2013 17:33, Damien Radtke wrote: > >>> My hunch is that it's being caused by failing to unmount correctly. When > >> I > >>> right-click on the flash drive and tell it to either Eject or Unmount, > >>> either a) nothing happens, or b) I get some weird unmount error. I don't > >>> remember the exact error message, but I can try it again later and report > >>> what it says. > >>> > >>> On a related note, am I supposed to Eject or Unmount the flash drive from > >>> my computer before pulling it out, or does it even matter? > >> > >> > >> It does matter, it matters a LOT. > >> > >> The speed you can write to a flash drive is a lot slower than drives. A > >> video for instance can be several GB long, and that can take minutes to > >> fully copy over. > >> > >> This has nothing to do with enlightenment or linux, it has to do with > >> how fast the stick can be written to. > >> > >> > >>> > >>> > >>> On Thu, Apr 4, 2013 at 10:14 PM, Gary <[email protected]> wrote: > >>> > >>>> Quoting Damien Radtke <[email protected]>: > >>>> > >>>>> Recently I was trying to copy a video over to another computer (running > >>>>> Windows, in case it makes any difference) by using my flash drive, but > >>>>> Enlightenment seems to not like flash drives very much. The first time > >> I > >>>>> tried, the file appeared but had a size of 0 bytes. After a couple more > >>>>> attempts I managed to get the file onto the computer, but it crashed > >>>> about > >>>>> halfway through watching it. No matter what I tried, I couldn't get the > >>>>> file to copy to the flash drive without running into some sort of > >>>>> corruption. I ultimately got around the problem by re-downloading the > >>>> video > >>>>> on the computer I was trying to transfer it to. > >>>>> > >>>>> This is with 64-bit openSUSE 12.3. I recently had GNOME installed but > >>>>> switched to Enlightenment, but I don't remember running into these > >> sorts > >>>> of > >>>>> issues with GNOME. > >>>>> > >>>>> Anyone else run into anything similar, or know why this might be > >>>> happening? > >>>>> > >>>>> ~Damien > >>>> > >>>> I'm having similar issues with usb sticks when using efm. In my case > >>>> it looks like files are copied but when I eject the stick and insert > >>>> it into another computer it is empty. I really haven't done any > >>>> thorough testing and can't say that this happens 100% of the time. It > >>>> does happen though. I've also had this happen when using MC, so it > >>>> doesn't appear to be an E only thing. I usually end up using Nautilus > >>>> to do the copy, which usually works (again can't say it's 100%). My > >>>> system is Ubuntu 12.10, E 17.1. > >>>> > >>>> Unfortunately, I have no idea why this is happening. If I end up > >>>> finding anything I'll let you know. > >>>> > >>>> Gary > >>>> > >>>> > >>>> > >>>> > >> ------------------------------------------------------------------------------ > >>>> Minimize network downtime and maximize team effectiveness. > >>>> Reduce network management and security costs.Learn how to hire > >>>> the most talented Cisco Certified professionals. Visit the > >>>> Employer Resources Portal > >>>> http://www.cisco.com/web/learning/employer_resources/index.html > >>>> _______________________________________________ > >>>> enlightenment-users mailing list > >>>> [email protected] > >>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users > >>>> > >>> > >> ------------------------------------------------------------------------------ > >>> Minimize network downtime and maximize team effectiveness. > >>> Reduce network management and security costs.Learn how to hire > >>> the most talented Cisco Certified professionals. Visit the > >>> Employer Resources Portal > >>> http://www.cisco.com/web/learning/employer_resources/index.html > >>> _______________________________________________ > >>> enlightenment-users mailing list > >>> [email protected] > >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users > >>> > >> > >> > >> -- > >> Alan McKinnon > >> [email protected] > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> Minimize network downtime and maximize team effectiveness. > >> Reduce network management and security costs.Learn how to hire > >> the most talented Cisco Certified professionals. Visit the > >> Employer Resources Portal > >> http://www.cisco.com/web/learning/employer_resources/index.html > >> _______________________________________________ > >> enlightenment-users mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users > >> > > ------------------------------------------------------------------------------ > > Minimize network downtime and maximize team effectiveness. > > Reduce network management and security costs.Learn how to hire > > the most talented Cisco Certified professionals. Visit the > > Employer Resources Portal > > http://www.cisco.com/web/learning/employer_resources/index.html > > _______________________________________________ > > enlightenment-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > > > > -- > Alan McKinnon > [email protected] > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > enlightenment-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
-- ------------------------------------------------------------------------------ _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
