VaKo Posted October 16, 2007 Share Posted October 16, 2007 So I've taken to using an ubuntu disc for various tasks at work, and one thing is really beginning to piss me off. In windows, I can plug a flash drive in, wait until windows recognizes it, bung a file on, wait until the LED stops flashing and yank the stick out. No problem at all with this with any flash drive, even one I've used heavily since 2005. So when I repeat this on the same hardware running Ubuntu, it sees the drive straight away (plus), mounts it on the desktop (plus), I copy the file across, wait until the LED stops flashing, pull it and find that the disc contains nothing but zero length files (wtf?). It turns out I actually have to click a button to eject the thing, upon which it stops lieing and actually writes the data to disc? I'm annoyed to say the least. OSX will bitch about it, but it doesn't lie about the location of the file. Is it something to do with a janky HAL or does ubuntu cache file move writes on removable media? Can I fix it? (yes, tried different everything, in a different room, in a different building) Quote Link to comment Share on other sites More sharing options...
deleted Posted October 16, 2007 Share Posted October 16, 2007 Dosent it just Hide the File untill Eject. The Dot annoys me. Quote Link to comment Share on other sites More sharing options...
VaKo Posted October 16, 2007 Author Share Posted October 16, 2007 No, copy an rsa key over and its a blank file, same with doc files or mp3's. Just creates a file containing no data. Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted October 16, 2007 Share Posted October 16, 2007 freebsd? Quote Link to comment Share on other sites More sharing options...
VaKo Posted October 16, 2007 Author Share Posted October 16, 2007 Moved my freebsd servers to VM's to save power, could try it I suppose. Quote Link to comment Share on other sites More sharing options...
Sparda Posted October 16, 2007 Share Posted October 16, 2007 It's called file system cacheting, and makes working on files on slow writable media much more bearable, the down side been that you have to specifically sync the cache with the actual hardware at some point. Quote Link to comment Share on other sites More sharing options...
digip Posted October 17, 2007 Share Posted October 17, 2007 Have anything to do with Write Caching and maybe turning it off? http://ubuntuforums.org/archive/index.php/t-483715.html Quote Link to comment Share on other sites More sharing options...
VaKo Posted October 17, 2007 Author Share Posted October 17, 2007 I'll have a go at switching it off then, should improve matters. Quote Link to comment Share on other sites More sharing options...
wetelectric Posted October 22, 2007 Share Posted October 22, 2007 You generally have to umount these things. Perhaps it doesn't commit until then? I've experienced the same thing on my windows box and gnu/linux box Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.