You are here

Is there a way to auto-close Firefox when I remove my flash drive?

7 posts / 0 new
Last post
RockerRyan
Offline
Last seen: 15 years 1 month ago
Joined: 2009-05-16 21:09
Is there a way to auto-close Firefox when I remove my flash drive?

If I just pull my flash drive out of my computer, is there a way to make Firefox, and basically all of the programs I am using with Portable Apps, automatically close?

John T. Haller
John T. Haller's picture
Offline
Last seen: 14 hours 23 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Don't Do That

You should never do that as it could easily corrupt your Firefox profile resulting in losing bookmarks, cookies, history, settings or all of the above.

A later Platform release will handle this for when it happens accidentally, but you should absolutely not do it on purpose.

Sometimes, the impossible can become possible, if you're awesome!

reepicheep
Offline
Last seen: 11 years 11 months ago
Joined: 2008-04-29 11:32
Even worse than that

You should never do that as it could easily corrupt your Firefox profile resulting in losing

Removing a USB while it is in use risks corrupting the USB itself not just the Firefox profile. Except in extreme circumstance --- and the only one I thinkqualifies is the buidling is on fire --- you never unplug a USB device without using the Windows in-built option to eject a drive.

RockerRyan
Offline
Last seen: 15 years 1 month ago
Joined: 2009-05-16 21:09
What I've noticed.

In the Properties of every single flash drive, if you click on the Policies tab, you will notice two options. They are as follows:

- Optimize for quick removal: This setting disables write caching on the disk and in Windows so you can disconnect this drive without using the Safe Removal icon.

----or----

- Optimize for performance: This setting enables write caching in Windows to improve disk performance. To disconnect this device from the computer, click the Safely Remove Hardware icon in the taskbar notification area.
______________________

As long as you're not using the flash drive for ReadyBoost, you can optimize it for quick removal. I have used the same flash drive for about a year. I've put important papers/programs on it with no problem and then removed the flash drive. There hasn't been a single instance where I lost anything. Nothing has ever been corrupted. I even keep a folder of all the .paf files on the flash drive, just in case. Haven't needed it thus far.

So can anyone answer my question?

Tim Clark
Tim Clark's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2006-06-18 13:55
John

John answered your question above.

But even when it is implemented I would never rely on it. I too have most of my drives set for - Optimize for quick removal: and would still NEVER remove a drive from the usb port with out using the Safely Remove Hardware icon.

I had a friend who did it for years, and then one day, it did not work, 4 GB of data lost.

Tim

Things have got to get better, they can't get worse, or can they?

RockerRyan
Offline
Last seen: 15 years 1 month ago
Joined: 2009-05-16 21:09
Okie dokie

Alrighty. I'll trust you guys. If a few extra seconds at a computer guarantees my file salvation, then that's no prob.

Thanks for the advice Smile

ottosykora
Offline
Last seen: 4 days 2 hours ago
Joined: 2007-10-11 17:48
and even this is not allways true

>- Optimize for quick removal: This setting disables write caching on the disk and in Windows so you can disconnect this drive without using the Safe Removal icon.

----or----

- Optimize for performance: This setting enables write caching in Windows to improve disk performance. To disconnect this device from the computer, click the Safely Remove Hardware icon in the taskbar notification area.

Otto Sykora
Basel, Switzerland

Log in or register to post comments