Written by eNz1m3 the 3 Jan 09 at 23:29.
Related project: Nautilus.
Status: Implemented
Rationale
A great feature that I believe should be implemented in order to save some time and headaches to new (and old) Ubuntu users, is a "mount anyway" button on the popup you can see when the event described below happens.
Event: That error shows up when you connect a pen drive or disk drive which wasn't properly disconnected from a Windows computer.
The current solution is only to use force the mount using console.
This "mount anyway" button should be something warning the user some data could be lost, but it should use the force option, even if it means asking for sudo password (if not needed, better).
(I'm sorry I don't have an image to attach, but I don't have any Windows system near me right now...)
I like this idea, recently I was mounting a 160GB external HDD that had this very problem. I alarmed the owner at first by saying something was wrong with his drive and then he started thinking Linux had screwed up his drive until I thought to manually force it to mount. Had I been newer to Ubuntu I would not have been able to absolve the blame from my system so easily.
andruk(Idea reviewer)
wrote on the 5 Jan 09 at 05:49
I would suggest against attempting to repair an NTFS partition automatically, simply scan the drive for any errors and report them. Then offer to ignore the errors or automatically fix the errors (or manually fix the errors), and then offer to auto mount the drive with options like "ignore and mount", "fix and mount", and "ignore".
The solution I offered was supposed to be something simple, quick and easy to implement.
But, if we're talking about something more close to "final" I would prefer the solution given by blazemore on the forum:
[quote]
I think the best solution would be to have a dialogue box (Or a fancy new notification!)
"Mounting /mountpoint has failed. This could be due to a corrupt filesystem. Would you like to force a mount?
[Yes][No][Always][Never][More Info]
[/quote]
Best solution yet, for what I think, on forum thread, by 3rdalbum:
[quote]
Having five buttons in a dialog probably breaks the Gnome HIG, and it certainly means a lot of cognitive dissonence ("There's so many buttons... which one is the right one?"). The language is too technical for Gnome.
Better solution:
"The device was unsafely removed from the last computer, or it may be corrupted. Always use the "Eject" or "Safely remove hardware" function of your operating system before unplugging storage devices, or it could lead to data corruption.
Do you want to try using anyway?"
[OK] [Cancel]
It teaches the user, doesn't overwhelm them with technical language (no Windows users know the word "mount") or options, and doesn't scare them with what is generally a safe procedure.
That's not entirely true on Windows, you were just lucky.
It has happpened to me a couple of times a few years ago, didn't unmount correctly, then all data was corrupted (at least, windows didn't let me open it), I had to format it.
I've seen it happen recently with vista also, so it is a problem users are not very aware of, and on ubuntu it shouldn't be an issue to try to mount it with a button, instead of using a command line (not everyone knows how to do it).
The problem is that it's a hard-to-repeat error. Usually, they work perfectly, so when the drive screws up, most users think it's a virus or something.
Magnes, that is indeed true, but people don't care about it, if it didn't work in Linux, or if it did work in Linux and then didn't work in windows, they simply think it was Linux's problem.
It's the reality we currently live in... uninformed and short-minded people :\
After reading your post, I realised indeed it was not a bug.
If it was a bug, I would continue stating my post. It is the true, and how would you call me that?
I'm not Anti-Microsoft or anything like that, I just said people often don't even think about what happens and blame Linux. That's it. It's the true, don't try to bend it. I'm sorry you read it like that, maybe I wasn't clear.
AndrewLuecke, if the windows partition is hibernated I would suggest that ubuntu needs to be able to detect that and deal with that in a different way. You can't assume it's hibernated either.
I'll modify my solution to incorporate your concern.
Will fsck even work on, say, a Windows partition? I somehow doubt it. I definitely agree with the user who suggested a warning box to say something like "The device was unsafely removed from the last computer, or it may be corrupted. Always use the "Eject" or "Safely remove hardware" function of your operating system before unplugging storage devices, or it could lead to data corruption." I would add "and/or loss of data" to that, just to sink the point home.
I’m also pretty happy with FreeNas. Mine’s been running virtually on an Opteron 146 for a while, speed throughout is actually comparible to my works Buffalo station. not bad for virtual. I will be looking to consolidate the virtual PCs once I can find a simple server solution. Anyone tried Ahami?Frank