yast2 partitioner and ntfs
Hello List, recently, i tried to mount a NTFS partition using yast read-write. I checked wiki [1] which states, that "Reading and writing to NTFS partitions is supported by default through the ntfs-3g driver, but NTFS partitions are not automatically mounted." which gives impression, that changing to ntfs-3g is everything you need. For that, you need to manually modify fstab by changing driver from ntfs to ntfs-3g. However, that is not enough to get NTFS writable. You also need to add options (rw,nosuid,nodev,relatime,user_id=<here your uid>,group_id=<here your gid>) - or similar. None of this is also documented (or i may have been looking on the wrong places). Second issue i got into was, that when you set the options in yast partitioner after changing fstab manually, the drive gets mounted by fuse, again without read-write support. I had to su and remount the partition manually, after which it worked. My questions are: 1) Is there any planned improvement in mounting NTFS read-write and supporting ntfs-3g directly by yast instead of using fuse? Possibly by respecting driver specified in fstab? 2) Why the wiki officially recommends editing fstab manually, when it was always been discuragued in favour of yast partitioner 3) Could that be improved for examply in some checkbox [x] Read-write support and selecting user for mounting it from a drop-down menu in yast partitioner? And/or selecting proper driver (ntfs, ntfs-3g, fuse) in partitioner via GUI? 4) Could the wiki be at least updated to reflect current situation and what needs to be really done to mount it read-write? 5) Is there anything i missed and does really Yast still not support the mounting of NTFS read-write? [1] https://en.opensuse.org/SDB:NTFS Thanks. Regards, Gryffus
Hi Lukáš, On 6/1/22 19:25, Lukáš Krejza wrote:
Hello List,
recently, i tried to mount a NTFS partition using yast read-write. I checked wiki [1] which states, that "Reading and writing to NTFS partitions is supported by default through the ntfs-3g driver, but NTFS partitions are not automatically mounted." which gives impression, that changing to ntfs-3g is everything you need. For that, you need to manually modify fstab by changing driver from ntfs to ntfs-3g.
Having a look to [1], I see that "ntfs-3g" is already suggested there.
However, that is not enough to get NTFS writable. You also need to add options (rw,nosuid,nodev,relatime,user_id=<here your uid>,group_id=<here your gid>) - or similar. None of this is also documented (or i may have been looking on the wrong places).
I am not sure who maintains that documentation. I would suggest you to ask to project@lists.opensuse.org.
Second issue i got into was, that when you set the options in yast partitioner after changing fstab manually, the drive gets mounted by fuse, again without read-write support. I had to su and remount the partition manually, after which it worked.
Interesting. We will revisit the details about how YaST manages NTFS file systems. Thanks!
My questions are:
1) Is there any planned improvement in mounting NTFS read-write and supporting ntfs-3g directly by yast instead of using fuse? Possibly by respecting driver specified in fstab?
No plans yet, but maybe we will improve this after checking its current state.
2) Why the wiki officially recommends editing fstab manually, when it was always been discuragued in favour of yast partitioner
No idea about the wiki, to be honest.
3) Could that be improved for examply in some checkbox [x] Read-write support and selecting user for mounting it from a drop-down menu in yast partitioner? And/or selecting proper driver (ntfs, ntfs-3g, fuse) in partitioner via GUI?
I personally think YaST should be able to flawlessly manage this use case. As said, we will check this. Regards, Iván -- José Iván López González YaST Team at SUSE LINUX GmbH IRC: jilopez
participants (2)
-
José Iván López González
-
Lukáš Krejza