From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: Hacking linux-utils for swap label Date: Thu, 13 Apr 2006 09:37:24 -0700 Message-ID: <20060413163724.GA16179@kroah.com> References: <443E133D.8070209@linagora.com> <20060413123619.GA3778@rain.homenetwork> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from ns.suse.de ([195.135.220.2]:49045 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1750819AbWDMQi0 (ORCPT ); Thu, 13 Apr 2006 12:38:26 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id CBF63EFF6 for ; Thu, 13 Apr 2006 18:38:24 +0200 (CEST) To: linux-fsdevel@vger.kernel.org Content-Disposition: inline In-Reply-To: <20060413123619.GA3778@rain.homenetwork> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Apr 13, 2006 at 04:36:19PM +0400, Evgeniy Dushistov wrote: > May be I don't understand something, but there is > http://e2fsprogs.sourceforge.net/ > and it contains blkid utility and which used for handle LABEL= in > /etc/fstab, > in spite of name it handles many types of file systems and swap > partitions also. vol_id in the udev package is much better than blkid, as it handles more file system types, and is easier to intregrate into other programs and scripts (it's also availble as a library.) I would recommend it instead. thanks, greg k-h