From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90EE9C43441 for ; Thu, 29 Nov 2018 10:40:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58F1E20834 for ; Thu, 29 Nov 2018 10:40:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58F1E20834 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=util-linux-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726926AbeK2VpZ (ORCPT ); Thu, 29 Nov 2018 16:45:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55552 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726823AbeK2VpZ (ORCPT ); Thu, 29 Nov 2018 16:45:25 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AFA0330833A4; Thu, 29 Nov 2018 10:40:30 +0000 (UTC) Received: from ws.net.home (ovpn-116-43.ams2.redhat.com [10.36.116.43]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EF31668719; Thu, 29 Nov 2018 10:40:29 +0000 (UTC) Date: Thu, 29 Nov 2018 11:40:27 +0100 From: Karel Zak To: Noel Cragg Cc: util-linux@vger.kernel.org Subject: Re: patch: page size warning message Message-ID: <20181129104027.tw4eesqzirtdhsvm@ws.net.home> References: <20181127161449.azz7fwn4elhh6wao@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181127161449.azz7fwn4elhh6wao@localhost> User-Agent: NeoMutt/20180716-521-8fffcf X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Thu, 29 Nov 2018 10:40:30 +0000 (UTC) Sender: util-linux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: util-linux@vger.kernel.org On Tue, Nov 27, 2018 at 08:14:49AM -0800, Noel Cragg wrote: > I ran into this while experimenting with alternate page sizes: > > # mkswap -f --label swap -p 2048 swapfile 65536 > mkswap: Using user-specified page size 0, instead of the system value 4096 > mkswap: swapfile: warning: wiping old swap signature. > Setting up swapspace version 1, size = 64 MiB (67106816 bytes) > LABEL=swap, UUID=d0521a3a-8594-4d4b-a79b-5259aeac8d45 > > Note "user-specified page size 0" in the above output. I've attached > a trival patch to fix that warning message. Applied, thanks. -- Karel Zak http://karelzak.blogspot.com