From owner-freebsd-bugs@freebsd.org Tue Nov 12 18:40:22 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3567B1B544B for ; Tue, 12 Nov 2019 18:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47CGlB0hrJz3Pfd for ; Tue, 12 Nov 2019 18:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 162A21B544A; Tue, 12 Nov 2019 18:40:22 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 15EBE1B5449 for ; Tue, 12 Nov 2019 18:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CGl96tDfz3Pfc for ; Tue, 12 Nov 2019 18:40:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CB60F400B for ; Tue, 12 Nov 2019 18:40:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xACIeLUm076433 for ; Tue, 12 Nov 2019 18:40:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xACIeLC4076432 for bugs@FreeBSD.org; Tue, 12 Nov 2019 18:40:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228461] swapinfo(8) is not able to align the columns with longer names of devices Date: Tue, 12 Nov 2019 18:40:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bcr@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 18:40:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228461 Benedict Reuschling changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |bcr@FreeBSD.org --- Comment #2 from Benedict Reuschling --- It is definitely valid, especially when you have your swap on zvols and/or = GELI encrypted swap. This easily overflows the space. Another misalignment happe= ns when you have multiple swap providers, like a swap file or a swap area on e= ach of many disks like this:=20 $ swapinfo -h Device 1K-blocks Used Avail Capacity /dev/gpt/swap0.eli 16777216 0B 16G 0% /dev/gpt/swap1.eli 16777216 0B 16G 0% /dev/gpt/swap2.eli 16777216 0B 16G 0% /dev/gpt/swap3.eli 16777216 0B 16G 0% Total 67108864 0B 64G 0% There is a patch in this PR here that might provide a solution: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223876 --=20 You are receiving this mail because: You are the assignee for the bug.=