From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eOceNuZvYGEIGQAAgWs5BA (envelope-from ) for ; Fri, 08 Oct 2021 18:20:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MGnWMOZvYGEgLwAAB5/wlQ (envelope-from ) for ; Fri, 08 Oct 2021 16:20:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 499B62E8B4 for ; Fri, 8 Oct 2021 18:20:54 +0200 (CEST) Received: from localhost ([::1]:52438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYsc9-0000Li-DF for larch@yhetil.org; Fri, 08 Oct 2021 12:20:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYrjc-0007AT-Mp for help-guix@gnu.org; Fri, 08 Oct 2021 11:24:32 -0400 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:40899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYrjZ-0004ci-VH for help-guix@gnu.org; Fri, 08 Oct 2021 11:24:31 -0400 Received: by mail-io1-xd35.google.com with SMTP id x1so7196673iof.7 for ; Fri, 08 Oct 2021 08:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=jBhg/38bk0ghN61MyDPU7rJs8hpP8GReM0thWoF48Pg=; b=Ymt4XWVN+gNKqxxikQgNYv8aqS83kLGkTuLFQH/IAeOEVaHn9EYD/Pv6IHi6imaJLX EAIAPuf7/whNwNfEaXXutMxGyLdgLnevEjpzsZNTgxaIav4QBMn5hDC3eqVutwG0lZhk j2yQgIycDSd+p5gSne8CLfaa5OhD2RgHzRLfknyM0ADr3wfYCGsloIDh2vjfLKDx4wfR HO47XzKCUSTVVf2PrLBG5tcIkhpuFnkpasBy0cVe8Ax6/2Puqm1eeNiaqJ+qVtSC3/R7 3wwCAlI05209IqsAD9rN8anqHu7nrr6GZtYog3vEFWslyspf+IprJh1H/2COlJfW/kAI inCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=jBhg/38bk0ghN61MyDPU7rJs8hpP8GReM0thWoF48Pg=; b=ljFwF1an9fsQkXQcOPWQBiQPMAkxbRAk9sRjyV07GXH1STVzW18ay4ZjcmNP2HkHDs BEf9DQcPhCXjG1qsaC20fNtC2hdJDQldtqo1JzeQYhONLp6zEE6AUnEPTRGEFePRgT/c rJ41lECUdIBAZkDGgfjwmRepBVUFrlGTfJBmepj+DHwMZBaRg9P9Z99/gmn3YnPfu5ow HzPpps5t1AvTq19uCz+AHDMFTn1peWuYUMB8XnP6p35WZBDLWaaAB1wxyBy0kSJQjIi0 0Y/GmMD9aeYPn7VvVIq8CmyXCUFtBfAYJlSRWQu9U1RYu8plhm4xzOTVYaOH3qRAF7iy 3KoQ== X-Gm-Message-State: AOAM532rQ4pozKCFW40CzkiT+a/COQ0pZ5AxYljmz2HMyn+0imrRGDVq mM3UHXxCtGus2QAkjypQ04orsqtLnpyR4C5qbJtnU1j0 X-Google-Smtp-Source: ABdhPJwktG3QSbb24jcXK6HTduHTrdwnAMmCO+d+PV2F3r9Uti6SA4ZpZ1on4YR0MfDB8v2HN/rNKiC+21l525ZzUXo= X-Received: by 2002:a02:cac6:: with SMTP id f6mr710344jap.81.1633706668090; Fri, 08 Oct 2021 08:24:28 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?VGjDqW8gVHlidXJu?= Date: Fri, 8 Oct 2021 15:24:17 +0000 Message-ID: Subject: To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=theo.tyburn@gmail.com; helo=mail-io1-xd35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 08 Oct 2021 12:20:25 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633710054; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jBhg/38bk0ghN61MyDPU7rJs8hpP8GReM0thWoF48Pg=; b=tvo5j0W2wycRQY7Z+aprkSDRb+YEaownv/nRn2behJGGVzv1LHtqlvGDiM6U4yR+3T8SLr AW+rlZEI77XPSAkiO2HZHZxPKwnVvEKIRfLLnHkB533rgYOhwLU3zrfxkMe2j1p8SNzEmi o7wxPJfI/dKnNCWoYLDqFcnddsjKi4HYYbQvluZG7BhsSnmTYpdlJ5PliyskqUeiK+UvT/ qC11kIA6k10t83k16JjiQ3vtnppNxwU5S9ouMo1ISt98W0Lob9TRl/86K7aKkhi71Sh7nt S9FtYtq3KNtUnBO2YK2r3ZjVAfFI/WUvD4yAwEtv99Fv2i0RPZn+UiuIgmeQ1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633710054; a=rsa-sha256; cv=none; b=XY6akGpMkCfd2ucYZiXBZ8tHRvexSefaXm73ySQDXikYAdrqDOMPjm1yIRFXtETMb35PwR TFpdRnaNR3YNQGyhfbuHAjvC/KAVEzQj0A9mms7/Ex7vogJdRRJbk4oNXMkIgw3W5ZfloT zBHHCBeFzNyMVqH56TDn86LuKsK8NdxhaqtRXtd2JCYgkZlb4f5C+/cFMKOAJHgefhnXP/ lHeTF2Dcjpbo1xWhEIEfDsbpwz/h9oIctmLwmXyYpQC68mn5pueMTn8jzjcjycYKFWlhVk 55dEv2GG2a7/9V34YjVV1UMLgUx5hAdq88kO6tvaoszwYIEJzAyB3DSUetx5bQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ymt4XWVN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ymt4XWVN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 499B62E8B4 X-Spam-Score: -0.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: lcpsm5lCmIlM Hi :) I'm trying to mount an internal hard drive with ntfs partition automatically when I boot. So I added this to file-systems in my operating-system definition : (file-system (device "/dev/sdb1") (mount-point "/mnt/ihd") (type "ntfs") (check? #f)) By doing so the filesystem is owned by root and other users don't have any permissions on it. So based on what I found running "man mount" I tried adding one after the other these options (options "rw"), (options "defaults"), (options "guid=3Dusers,umask=3D000") so for example I tried (file-system (device "/dev/sdb1") (mount-point "/mnt/ihd") (type "ntfs") (options "rw") (check? #f)) but I always get the same error when I reboot after reconfiguring: 'ntfs: (device sdb1): parse_options(): Unrecognized mount option rw' >From what I found here https://wiki.archlinux.org/title/Udisks#NTFS_mount_failing the problem might come from the fact that the ntfs used is that from the ke= rnel and not the version from ntfs-3g. The first doens't seem to recognize mount options. This might also be linked to another problem : notice I add the field (check? #f). Without it I got the error : "ntfsfix : no such file or directory" I guess ntfsfix also comes bundled with ntfs-3g so it would make sense that these two bugs have the same origin. So the question is : how do I make make guix use the ntfs-3g package in my operating system definition ? Of course the package is available in the package list of the operating system definition. I looked a bit at the source but couldn't figure out how the command (mount.ntfs or mount.ntfs-3g) is selected depending on the fs type. The decisive steps seem to happen in the "mount-file-system" define* at the end of gnu/build/file-system.scm. What I don't understand there is what "(mount source target type flags options)" does, because I don't find where (mount) is defined. This is as far as my guile/geiser hacking level can take me for now. If sommeone can explain me, I'd be gratefull ! Th=C3=A9o Tyburn