unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Mounting ntfs filesytems
@ 2024-10-22 16:29 Divya Ranjan
  2024-10-23 15:32 ` William via
  0 siblings, 1 reply; 2+ messages in thread
From: Divya Ranjan @ 2024-10-22 16:29 UTC (permalink / raw)
  To: help-guix

Hello,

I’m trying to mount a ntfs filesystem, I know it doesn’t work the simple way like mounting ext4 or btrfs but is there any other way to automate it so that I don’t have to just run the commands manually every time I log in? On irc I was directed to look into udisks-service-type, but I don’t know how to configure it to mount my specific disk. Any help on that would be great.

I know it has been notoriously difficult to mount ntfs-like filesystems on boot in guix[0], but has there been any progress in that since then?

[0]: https://lists.gnu.org/archive/html/help-guix/2021-10/msg00039.html

Regards,
-- 
Divya Ranjan,
Philosophy, Mathematics, Libre Software.


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

* Re: Mounting ntfs filesytems
  2024-10-22 16:29 Mounting ntfs filesytems Divya Ranjan
@ 2024-10-23 15:32 ` William via
  0 siblings, 0 replies; 2+ messages in thread
From: William via @ 2024-10-23 15:32 UTC (permalink / raw)
  To: help-guix

Hello.

I faced the same issues back in March[0], the problem is that ntfs-3g is required to mount the filesystem with read/write support, but if you define an entry on the system configuration it'll stop the boot process, I don't have much clue as to why it hangs the boot process but I suspect it has to do with ntfs-3g lacking included FUSE support and the init refusing to continue, I was told back in the day that compiling ntfs-3g with the FUSE library included could solve this problem.


What I ended doing was define an entry for the partition, but with the "mount?" value set to false (#f)[1] so you can mount it after boot is complete with "sudo mount -a". Maybe you could configure the desktop environment or a cronjob to run this command, but bare in mind that it needs root access to mount the filesystem with read/write support via ntfs-3g because of the setuid/gid issue with FUSE.


0: https://issues.guix.gnu.org/46980#1
1: https://guix.gnu.org/manual/en/html_node/File-Systems.html#File-Systems-1

On 22 October 2024 16:29:04 UTC, Divya Ranjan <divya@subvertising.org> wrote:
>Hello,
>
>I’m trying to mount a ntfs filesystem, I know it doesn’t work the simple way like mounting ext4 or btrfs but is there any other way to automate it so that I don’t have to just run the commands manually every time I log in? On irc I was directed to look into udisks-service-type, but I don’t know how to configure it to mount my specific disk. Any help on that would be great.
>
>I know it has been notoriously difficult to mount ntfs-like filesystems on boot in guix[0], but has there been any progress in that since then?
>
>[0]: https://lists.gnu.org/archive/html/help-guix/2021-10/msg00039.html
>
>Regards,
>-- 
>Divya Ranjan,
>Philosophy, Mathematics, Libre Software.
>

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

end of thread, other threads:[~2024-10-23 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 16:29 Mounting ntfs filesytems Divya Ranjan
2024-10-23 15:32 ` William via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).