guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#44169] [PATCH 1/3] file-systems: Allow swap space lookup by UUID/la


From: Ludovic Courtès
Subject: [bug#44169] [PATCH 1/3] file-systems: Allow swap space lookup by UUID/label.
Date: Fri, 23 Oct 2020 18:31:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Mathieu Othacehe <othacehe@gnu.org> skribis:

>> +;; Like 'PAGE_SIZE' in Linux, arch/x86/include/asm/page.h.
>> +(define %page-size 4096)
>
> Page size is not necessarily 4096, it can be larger, which will break
> the magic detection. I guess we need to use the system current page size
> for a portable detection.

It’s really the PAGE_SIZE constant, not the sysconf value.

We should check its value on the other arches we can about though.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]