[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ZFS on Guix
From: |
raid5atemyhomework |
Subject: |
Re: ZFS on Guix |
Date: |
Mon, 04 Jan 2021 00:50:08 +0000 |
Yes, I found that out after a little more digging.
I have a preliminary patch here: https://issues.guix.gnu.org/45592
However I will make a patchset based on this in order to support /home on ZFS
and managing ZFS the "legacy" way by (file-system ...) declaration, please wait.
> Hi,
>
> the reason is that our "zfs" package uses
>
> ("util-linux" ,util-linux "lib")
>
> and then does
>
> (substitute* "lib/libzfs/libzfs_mount.c"
> (("/bin/mount") (string-append util-linux "/bin/mount"))
> (("/bin/umount") (string-append util-linux "/bin/umount")))
>
> .
>
> That can't work.
>
> zfs interna that will be patched by the Guix package are:
>
> ./lib/libzfs/libzfs_mount.c
>
> do_mount(const char *src, const char *mntpt, char *opts)
>
> char *argv[9] = {
> "/bin/mount",
> "--no-canonicalize",
> "-t", MNTTYPE_ZFS,
> "-o", opts,
> (char *)src,
> (char *)mntpt,
> (char *)NULL };
>
> Easy fix would be to change our package to have both
>
> ("util-linux:lib" ,util-linux "lib")
>
> and
>
> ("util-linux" ,util-linux)
>
> .
- ZFS on Guix, raid5atemyhomework, 2021/01/02
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/02
- Re: ZFS on Guix, Danny Milosavljevic, 2021/01/03
- Re: ZFS on Guix,
raid5atemyhomework <=
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/04
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/05
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/05
- Re: ZFS on Guix, Carlo Zancanaro, 2021/01/05
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/05
- Re: ZFS on Guix, Carlo Zancanaro, 2021/01/05
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/05
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/06
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/06
- Re: ZFS on Guix, raid5atemyhomework, 2021/01/09