Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
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..
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.....
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.