LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-29-2008, 02:20 AM   #1
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Sync - the problem with Linux


When you write a file, it's not actually written but you then have to "sync" in a terminal. So for example with a USB stick, you drag a file into it inside a GUI, it shows it to be there, but really it isn't.

This will not only not get rid of Windows in any way, it'll make people snap Linus Torvalds and Richard Stallmans head in two.

(Windows btw has write-caching which you can turn off *only for a USB stick* - I fail to see how this is inferior in any way. In Linux of course you cant even TELL one drive from another).

So - somone please do something about it.
 
Old 05-29-2008, 02:33 AM   #2
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
Your someone..

Or, you could just put a script on your desktop, that syncs and unmounts the drive for you..

would be real simple as well.

Quote:
sync
umount /media/usb
Make it executable:

Quote:
$chmod +x RemoveUsb.sh
Then, just put it on your desktop, double-click to eject.. like, I might add, you have to do in Windows.. whenever you want to remove a removable drive, you have to select the "Safely Remove Hardware" program from your system-tray, and then select the device.

I'm sure you could add to the script, or someone could show you a better way of mounting it with the GUID so it is always called the same thing..
 
Old 06-02-2008, 10:03 AM   #3
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
[QUOTE=grizly;3167860]Your someone..

Or, you could just



I DON'T WANT TO DO ANYTHING. When the icon shows it's there I want to be able to pull out my drive. You DON'T have to click "Safely Remove Hardware", I've been doing it for years on doze without anything (*once* I think it effed up).

But besides all that - I want write caching *enabled or disabled on a *per drive basis**. That is the main point of this post. Once again, someone, please look into it, otherwise we're all dead.

Yes, it will require some absolute fundamental rewiring of Linux, it will.....
 
Old 06-02-2008, 10:39 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Yes, it will require some absolute fundamental rewiring of Linux, it will...
Never heard of sync option? See man mount and man fstab.
 
Old 06-02-2008, 12:17 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by resetreset
Once again, someone, please look into it, otherwise we're all dead.
Speak for yourself.
 
Old 06-02-2008, 12:52 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by resetreset View Post

I DON'T WANT TO DO ANYTHING.

Yes, it will require some absolute fundamental rewiring of Linux, it will.....
If you don't want to do anything, and it's not a problem for anyone else, why should WE do it FOR YOU? And this isn't a "linux problem", this is a file-system issue, which can vary. Is your USB stick NTFS? VFAT? EXT2/3? Reiser? ZFS?

Journaled file systems are much more robust than what Windows uses, which is why you can "just pull it out" on Windows...with the exception of it "effing up once". And since Windows can't do it 100% of the time reliably, why do you expect the (lots) of Linux supported file systems to?

If you don't want to contribute anything, fine...but don't complain about what others do.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Horde Sync Problem marvin00001 Linux - Software 0 08-23-2007 02:01 AM
NTP sync problem. makkays Linux - Networking 4 05-02-2007 04:20 PM
Zaurus sync problem bunty Debian 2 12-02-2004 03:02 PM
gtkpod - sync problem eastsuse Linux - Software 1 08-20-2004 04:36 PM
Sync Out of Range Problem Eurytus Linux - Newbie 8 08-09-2004 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration