@ tinypoodle
forcemount and data integrity appear to be mutually exclusive.
That is true, of course
I'm a bit confused right now, as I vaguely remember me trying to mount a broken ntfs-stick, getting some kind of "boot into Windows TWICE" error and beeing unable to mount. I then ran some command, I remember it to be ntfscheck to fix this problem. Now, doing some research, I can't find any reference to this. Strange, probably me getting old... ... Sorry!
I can remember having read about plans of a ntfsfsck utility long before ntfs-3g forked from ntfsprogs, but nothing has ever been realized. Simple fact there is no such a thing for Linux.
So what about ntfsfix (what most likely has been the command I used??!!) and the -o force command afterwards? Would ntfsfix be mighty enough to clear the worst problems, keep data integrity on the stick and make it mountable.
Not safely, IMHO
We could then grep the output of a mount command (like mounttime.txt) for "TWICE" (or whatever) and run ntfsfix and try to mount the drive with -o force afterwards.
Would that be a practicable solution?
Highly risky.
Have a look at the man page
http://linuxmanpages.net/manpages/fedora17/man8/ntfsfix.8.htmland if you are still not convinced then have a look at the source code of ntfsfix.
It's main achievement is to mark the volume for windows to run chkdisk at next boot.
How do other distributions deal with these problems?
Not sure why you talk about a problem.
Good practice under UNIX-like operating systems says to mount filesystems only when and as long as needed.
That is exactly where automount could play in (not sure if it would be compatible with core) - which has nothing to do with forcemounting.
http://linux.die.net/man/8/automounthttp://tldp.org/HOWTO/Automount-1.htmlAnother good practice says to mount file systems where writing is not a need read-only. A common example would be to have a dedicated partition for /usr (required to be mounted at boot!) mounted read-only.
In my strictly personal opinion, a working procedure for USB-automount would be an improvement, wouldn't it?
With traditional scatter install distros, often the root partition gets first mounted read-only and remounted read-write after a fsck at boot time.
I guess there could be a way to implement a similar routine for removable storage which gets attached at runtime, but I can't see a big need for it.
With the emerge of udev there was a project "usbmount".
It is unmaintained and last development took place in 2005...
http://usbmount.alioth.debian.org/#historyHow is this handled, when using the GUI-mount/unmount feature? This problem would occur there as well, if you do have a non integer device, right?
Only if a user actively mounts a non integer device.
What makes all the difference is that with any mount facilitation, be it by GUI, automount, or simply setting "mount" SUID, it is in the full capacity and responsibility of the user if they want a filesystem to be checked first or to mount it read-only or read-write.