Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761374AbYA1Ux2 (ORCPT ); Mon, 28 Jan 2008 15:53:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752569AbYA1UxU (ORCPT ); Mon, 28 Jan 2008 15:53:20 -0500 Received: from sovereign.computergmbh.de ([85.214.69.204]:40518 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751853AbYA1UxT (ORCPT ); Mon, 28 Jan 2008 15:53:19 -0500 Date: Mon, 28 Jan 2008 21:53:18 +0100 (CET) From: Jan Engelhardt To: Zan Lynx cc: Jason Price , linux-kernel@vger.kernel.org Subject: Re: Fwd: show label for swap partition. In-Reply-To: <1201551042.9135.5.camel@localhost> Message-ID: References: <83f15e30801281151w21466ef9m82dc50ab09dc390f@mail.gmail.com> <83f15e30801281156od91c2a8p3ec439cb16232386@mail.gmail.com> <83f15e30801281158s36b0da3el210f5a97b0348ea3@mail.gmail.com> <1201551042.9135.5.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 873 Lines: 23 On Jan 28 2008 20:10, Zan Lynx wrote: >On Mon, 2008-01-28 at 14:58 -0500, Jason Price wrote: >> I apologize if this is the wrong forum. Please CC me on replies. >> >> A admin accidentally deleted the swap line from the fstab file. We >> mount the swap filesystem via labels. However, there seems to be no >> way to list the label on an existing swap partition, via the command >> line swap tools (mkswap, swapon/off, etc) >> >> Is this blindness on my part, or should there be an analog to e2label >> for swap partitions? # blkid /dev/mapper/swap0 swap0: UUID="502e549d-d8b4-4c08-9b27-3d3e9cefed92" TYPE="swap" Works. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/