all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Udisks uses ntfs instead of ntfs-3g
@ 2018-05-14 17:46 Pierre Neidhardt
  2018-05-17 14:19 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-14 17:46 UTC (permalink / raw)
  To: help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]


Udisks mounts external NTFS partitions using the NTFS kernel module
(read-only) instead of ntfs-3g (read-write).  I would assume that if the
users have ntfs-3g installed, they probably want to use it by default

I haven't tested it, but I think symlinking mount.ntfs to ntfs-3g is
enough to get Udisks to use ntfs-3g by default.

(It's what https://wiki.archlinux.org/index.php/NTFS-3G seems to suggest
at least.)

What do you think?

--
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Udisks uses ntfs instead of ntfs-3g
  2018-05-14 17:46 Udisks uses ntfs instead of ntfs-3g Pierre Neidhardt
@ 2018-05-17 14:19 ` Ludovic Courtès
  2018-05-17 15:36   ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2018-05-17 14:19 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix@gnu.org

Pierre Neidhardt <ambrevar@gmail.com> skribis:

> Udisks mounts external NTFS partitions using the NTFS kernel module
> (read-only) instead of ntfs-3g (read-write).  I would assume that if the
> users have ntfs-3g installed, they probably want to use it by default
>
> I haven't tested it, but I think symlinking mount.ntfs to ntfs-3g is
> enough to get Udisks to use ntfs-3g by default.
>
> (It's what https://wiki.archlinux.org/index.php/NTFS-3G seems to suggest
> at least.)
>
> What do you think?

The change would be fine by me, but perhaps it would make sense to
discuss it with upstream Udisks people?

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Udisks uses ntfs instead of ntfs-3g
  2018-05-17 14:19 ` Ludovic Courtès
@ 2018-05-17 15:36   ` Pierre Neidhardt
  2018-05-21 12:37     ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-17 15:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]


Done: https://github.com/storaged-project/udisks/issues/532.

-- 
Pierre Neidhardt

I wasn't kissing her, I was whispering in her mouth.
		-- Chico Marx

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Udisks uses ntfs instead of ntfs-3g
  2018-05-17 15:36   ` Pierre Neidhardt
@ 2018-05-21 12:37     ` Pierre Neidhardt
  2018-05-21 14:27       ` Joshua Branson
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-21 12:37 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]


I also noticed that Guix packaged version is 2.1.8 which is fairly old.
Latest release is 2.7.6.

I can submit a patch.

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Udisks uses ntfs instead of ntfs-3g
  2018-05-21 12:37     ` Pierre Neidhardt
@ 2018-05-21 14:27       ` Joshua Branson
  2018-05-23 10:42         ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Joshua Branson @ 2018-05-21 14:27 UTC (permalink / raw)
  To: help-guix

Pierre Neidhardt <ambrevar@gmail.com> writes:

> I also noticed that Guix packaged version is 2.1.8 which is fairly old.
> Latest release is 2.7.6.
>
> I can submit a patch.

Please do.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Udisks uses ntfs instead of ntfs-3g
  2018-05-21 14:27       ` Joshua Branson
@ 2018-05-23 10:42         ` Pierre Neidhardt
  2018-06-01  5:29           ` Chris Marusich
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-23 10:42 UTC (permalink / raw)
  To: Joshua Branson; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]


I've patched ntfs-3g to symlink mount.ntfs to mount.ntfs-3g and it works
as expected.  If the new ntfs-3g is installed as a system package, that
is to say.

Indeed, libmount seems to only look in

	/run/current-system/profile/sbin/mount.*

and not in

	~/.guix-profile/sbin/mount.*.

Is this the behaviour we really want?  Maybe, considering libmount is fairly
low level.  Any insights?

To see that you can try the following command:

--8<---------------cut here---------------start------------->8---
> sudo LIBMOUNT_DEBUG=all mount /dev/sda1 /mnt
5132: libmount:     INIT: library debug mask: 0xffff
[...]
5132: libmount:      CXT: [0x2162690]: /run/current-system/profile/sbin/mount.ntfs ... not found
[...]
--8<---------------cut here---------------end--------------->8---

See https://github.com/storaged-project/udisks/issues/532 for more
details.

I'll submit a patch soon.

--
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Udisks uses ntfs instead of ntfs-3g
  2018-05-23 10:42         ` Pierre Neidhardt
@ 2018-06-01  5:29           ` Chris Marusich
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Marusich @ 2018-06-01  5:29 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix, Joshua Branson

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

Pierre Neidhardt <ambrevar@gmail.com> writes:

> I've patched ntfs-3g to symlink mount.ntfs to mount.ntfs-3g and it works
> as expected.  If the new ntfs-3g is installed as a system package, that
> is to say.

Nice!

> Indeed, libmount seems to only look in
>
> 	/run/current-system/profile/sbin/mount.*
>
> and not in
>
> 	~/.guix-profile/sbin/mount.*.
>
> Is this the behaviour we really want?  Maybe, considering libmount is fairly
> low level.  Any insights?

Does libmount provide any run-time control over how it finds these
things?  For example, is there an environment variable or a
configuration file that controls where it looks?  If so, we might be
able to customize it, or at least a user might be able to use it to tell
libmount where to look.  I don't know much about libmount currently,
which is why I'm asking.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-01  5:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14 17:46 Udisks uses ntfs instead of ntfs-3g Pierre Neidhardt
2018-05-17 14:19 ` Ludovic Courtès
2018-05-17 15:36   ` Pierre Neidhardt
2018-05-21 12:37     ` Pierre Neidhardt
2018-05-21 14:27       ` Joshua Branson
2018-05-23 10:42         ` Pierre Neidhardt
2018-06-01  5:29           ` Chris Marusich

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.