Automount of external NTFS USB drive fails when using the Device Notifier

Automount of external NTFS USB drive fails when using the Device Notifier

The automount facility failed after the last kernel update. A bug report was kindly filed by @saverios. The details are in the quote at the end of this notice.

Pending resolution of the bug, we recommend that you install the following workaround: Open the file /etc/filesystems and add an entry for “ntfs” so the file looks similar to this (see last entry):

vfat
hfs
minix
reiserfs
ntfs
*

Here are the superuser editor commands to open the file:

  • KDE users: kdesu kwrite /etc/filesystems
  • Gnome users: gnomesu gedit /etc/filesystems

Here is a copy of the bug report, kindly filed by @saverios. (See the last line of it for a bypass):

The device notifier reports an error when
trying to mount my external ntfs drive:

org.freedesktop.UDisks.Error.Failed: Requested filesystem type is neither
well-known nor in /proc/filesystems nor in /etc/filesystems

The drive worked fine before the update to kernel 2.6.37.6-0.5-desktop x86_64.

Reproducible: Always

Steps to Reproduce:
1.Insert a NTFS USB drive
2.
3.
Actual Results:
Device is not mounted.

Expected Results:
Device should be mounted and accessible through dolphin or other file browsers.

Adding “ntfs” to /etc/filesystems seems to fix the problem.

Bug report: Bug 691280 - USB hard disk formatted as NTFS is being mounted as FAT by KDE (and of course fails) in Tumbleweed

The above is also true for openSUSE 11.4

And there is also a bug files for this: https://bugzilla.novell.com/show_bug.cgi?id=691332.

oh man, thanks. I was looking for this solution until read this

I asked about this on 64bit but found the solution myself. The bug entries are interesting in some respects. It looks like it’s an update problem. Kernel or Udiscs and not down to the programs themselves.

:\ Be interesting to see what happens when I get round to hot plugging an ext4 drive. I would hope that this will also need an entry as if it’s treated as an exception it will in all probability cause further problems later on.

  • I can mount ntfs partitions with
    ntfs-3g /dev/sdb1 /home/user/mounted
    or whatever. That is not a kernel bug but just a little omission-mistake. Too much work or too much german beer? I hope the second one! :wink:

  • I also discovered that the only connected external disk, fat formatted, will be mounted erratically as df1. That should be also corrected, otherwise we must change the name opensuse to opensuse-pseudo-linux. Seriously speaking (or writing) they can’t do that by reason of messing the user’s work on the console, macros and so on.

  • By the way, a couple of years ago I wrote in gambas (a java clothed as vb6) many little applets to edit as root every relevant file or navigate and edit, rename, delete and so on. I would be glad to share them, but no idea where to upload them.

Capodastro wrote:
> - By the way, a couple of years ago I wrote in gambas (a java clothed
> as vb6) many little applets to edit as root every relevant file or
> navigate and edit, rename, delete and so on. I would be glad to share
> them, but no idea where to upload them.
>
Just create a project at sourceforge or google code.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

Very useful Henk. Thank you.

The report that is actually open is from 2011-05-01 01:45:01 UTC and could be found at
Bug 691077 - udisks: ‘ntfs’ needed in /etc/filesystems because it’s not properly white-listed internally
…]

I doubt that any of the developers/plumbers will read your comment here on the forums…

:wink:
And I do not know if the beer in Franken (en: Franconia) is really so good. I do only remember Rauchbier (en: Smoked beer) from Bamberg as a famous beer of that region - and personally I think it tastes like if someone would have put some smoked ham in your beer for a joke -> not really my favorite beer.
I guess if they want/need Ethanol in their blood they will drink some Frankenwein (en: wine from Franconia ?)[1].

Nich’ lan’ schnacken, Kopp in Nacken!
/:wink:
Martin
(pistazienfresser)

[1] …or Weizen/Weißbier from the South or Pilsener/Pilsner from the North or something completely different?

hcvv: that sounds pretty good and easy to set up. Here is my way i attach my external USB HDD:

  1. first i attach the HDD to the computer
  2. i install ntfs-config
  3. i run ntfs-config and adjust settings
  4. using Yast i open the Partitioner and at the fstab options i add “defaults,users,locale=en_US.UTF-8” to make the HDD accesible to me as normal user.

Do you think this is good a practice as well ?

Maybe this thread could be ‘de-sticked’?

Bug 691077 - udisks: ‘ntfs’ needed in /etc/filesystems because it’s not properly white-listed internally
Comment 26 Swamp Workflow Management 2011-07-19 13:09:24 UTC

Regards
Martin