-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udisks 2.9.4 and ntfs3: unable to mount NTFS partition #932
Comments
Looks like it's related to the
udisks is able to mount the partition with ntfs3
|
Yes, this is expected. The kernel See also #917 (comment) Either the kernel |
Problem is like this the new filesystem is pretty much useless, at least on the desktop for regular users not being able to mess with fstab and trying to make use of the convenient udisks usage of modern desktops.
I suppose if noone reports a bug upstream to clarify the situation, preferrably someone like you involved in the userspace and the internals and how to handle these edge cases and point out this change is a real issue then this will go nowhere. Would be nice to see this worked around in udisks for the time being as 5.15 is now released as it is, can't udisks be changed to only check for and apply the |
Yes, I agree. Same situation for existing
Yes, a discussion with the kernel maintainers will be needed to get some guarantees before proceeding with any kind of workarounds in udisks. The primary problem here is to detect which driver gets used and which mount options should be used. Right now the default mount options in udisks are tied to the filesystem signature. That was not a real problem so far, even for the Existing mount options for the Another concern to deal with is an eventual driver rename from Same situation for removed or deprecated mount options, the filesystem driver should retain backwards compatibility. It was not a real problem with any filesystem driver until now. |
https://lore.kernel.org/ntfs3/CAC=eVgQKOdNbyDf2Qf=O9SnG=6nAGZ-nyuwOosf7YW5R3xbVLw@mail.gmail.com/ Did not help unfortunately. |
so, is it fixed now ? |
Nope. |
So the choice is either wait for the kernel and all the distros to fix this or add a line to the default config ? |
I saw this: https://www.phoronix.com/scan.php?page=news_item&px=EXT4-New-Mount-API-Usage |
Please stick to the |
So to get things moving, here's a quick summary what needs to be done. No timeframe though, we're rather busy with other stuff.
|
Do you really want to wait a year for someone to "Differentiate between filesystem signature and filesystem driver" ??? |
https://build.opensuse.org/request/show/956504 by user dimstar + dimstar_suse - Use ntfs-3g again, udisks no longer works with the new ntfs3 module (gh#storaged-project/udisks#932)
pour remplacer ntfs-3g par le module ntfs3 du kernel >=5.15
il suffit de supprimer l'option "windows_names" pour que le module ntfs3 fonctionne, pour cela en tant que root éditer et corriger le fichier /etc/udisks2/mount_options.conf optionnellement supprimer le package ntfs-3g, s'il n'a pas de dépendance
Et voilà! -- English
optionally remove the ntfs-3g package, if it has no dependency
Et voilà! |
Come on guys, please give us at least something to play/test with. Mark it experimental and/or hide it behind some configure option that is default disabled, but please give us something. |
Please keep begging for volunteers to work for you out of issue tickets. |
Believe me, if I could give you that kind of resource, I'd do it right away. |
You are right, this should have been done in a week, its incredible its taking so much time. i understand that udisks should be stable and clean but its taking too much time. |
Some news floating around: https://lore.kernel.org/lkml/da20d32b-5185-f40b-48b8-2986922d8b25@stargateuniverse.net/ Whatever this kernel story ends up with, the current plan for differentiating filesystem signature and filesystem driver name still stands, it's an important piece of functionality that will keep us prepared for similar situations with inconsistent driver names in the future. If somebody still wants to experiment with |
or just read my post above #932 (comment) |
will it work without ntfs3 now ? at next release ? |
Yes, it's ok now. |
ok, thanks guys ! it will take some time before it reaches a distro i guess... |
I actually tested the latest update on Arch Linux 5.15.55-2-lts distro with ntfsprogs-ntfs3 package which modified /usr/sbin/mount.ntfs, after removing the ntfs_defaults patch in /etc/udisks2/mount_options.conf, so it's already at least in a distro and in the kernel. Isn't it? |
I know there are workarounds but id rather wait for the new version... |
will ntfs3 support |
That's a question for the kernel driver maintainers. No need to deprecate anything in UDisks, |
udisks is unable to mount a NTFS partition with kernel 5.15 trying to make use of the new ntfs3 kernel driver. While manually mounting via
mount -t ntfs3 /dev/sdb5 /mnt/music
works:
/dev/sdb5 on /mnt/music type ntfs3 (rw,relatime,uid=0,gid=0,iocharset=utf8)
udisks does not.
Terminal:
Dolphin:
These errors happen after I uninstalled the FUSE userspace driver/package
ntfs-3g_ntfsprogs
. If I install it again udisks mounts the NTFS partition with no errors, but uses the FUSE driver instead of ntfs3:/dev/sdb5 on /run/media/tgurr/Daten type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
which it shouldn't.
Additional info:
The text was updated successfully, but these errors were encountered: