Is there any way to make all NTFS volumes default to using ‘-o force’ when they automount. If I’m using an NTFS volume, it’s usually someone else’s and no one “safely removes” drives.
You are talking about external usb type or pendrives?
Whatever I plugin will mount. Then it’s just right click eject/safely remove.
He’s talking about NTFS. Pen drives are FAT32. The “-o force” thing si only for NTFS. I don’t know the answer to the question so I hope somebody here does.
Is there any way to make all NTFS volumes default to using ‘-o force’ when they automount.
I’m not sure that this would be a good idea. Usually NTFS volumes that won’t mount need to be cleaned first via M$ OS (or you could try using ntfsfix on the unmounted volume).
Just a guess here…from memory, (and I want to stress that my understanding is shaky at best), the automounting uses /sbin/mount.ntfs-3g which is linked to /bin/ntfs-3g, so in theory you could redirect this to a bash script containing the desired mount options. I wouldn’t recommend it however.
assuming you are trying to mount a device that is not “safely removed” from a windows machine, you might see if pmount could be configured this way.
pmount - Policy Mount for removable storage by regular users | SUSE & openSUSE
I’d be leery of making that the default mount.
handling the usb hard drive under opensuse is not elegant, it will default mount read-only. If you install ntfs-config and use it to set up an external ntfs device read-write (it makes a fstab entry), then you cannot “safely remove” it with user permissions. Swerdna’s “Automount” solution is the most useful… HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11 …(I owe him a beer for that one), but opens up a scenario that a user can write to devices you might not approve. I installed pmount and tinkered with it, but at this point, I cannot comment intelligently on it’s use. Read up on it and see if you can resolve your problem, I’ll look forward to hearing your opinion.