Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753151AbZAYVNr (ORCPT ); Sun, 25 Jan 2009 16:13:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751731AbZAYVNg (ORCPT ); Sun, 25 Jan 2009 16:13:36 -0500 Received: from mail.tmr.com ([64.65.253.246]:44727 "EHLO partygirl.tmr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751408AbZAYVNg (ORCPT ); Sun, 25 Jan 2009 16:13:36 -0500 Message-ID: <497CD5F3.8030901@tmr.com> Date: Sun, 25 Jan 2009 16:13:23 -0500 From: Bill Davidsen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081217 Fedora/1.1.14-1.fc9 pango-text SeaMonkey/1.1.14 MIME-Version: 1.0 Newsgroups: gmane.linux.kernel To: Justin Piszcz CC: Alan Cox , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, xfs@oss.sgi.com Subject: Re: Switching from (deprecated) IDE driver -> SATA (PATA support) References: <20090125110742.4ba54c0b@lxorguk.ukuu.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1785 Lines: 59 Justin Piszcz wrote: > > > On Sun, 25 Jan 2009, Justin Piszcz wrote: > >> >> >> On Sun, 25 Jan 2009, Justin Piszcz wrote: >> >>> >>> >>> On Sun, 25 Jan 2009, Alan Cox wrote: >>> >>>> Easiest is to use labels. Old ide will keep hda,b,c,d constant >>>> providing you have interfaces using the legacy IDE port mappings (0x1f0 >>>> and 0x170). Libata doesn't do that as pretty much every distribution >>>> had >>>> already switched to volume labels, and the user space can do the job >>>> far >>>> better than the kernel - especially as the newer devices with modern >>>> interfaces don't have the old BIOS/DOS legacy ideas any more. >>>> >>>> Mount by label also means you can flip back and forth between the >>>> different drivers and kernel revisions. >>>> >>>> Alan >>>> >> It comes with one :) >> # xfs_admin -u /dev/sdd2 >> UUID = 77ae4251-631f-4656-a365-c5723f5c5da8 >> >> Will try to use this to boot; however, I'd prefer the labels over the >> UUID, wish there was an easy way to set it. >> >> Justin. >> >> _______________________________________________ >> xfs mailing list >> xfs@oss.sgi.com >> http://oss.sgi.com/mailman/listinfo/xfs >> > > One final question, without udev, how does one determine the UUID of a > non-XFS > partition, e.g., swap? > One uses blkid. Which suggests that you can solve your name problem by not using names and switching to UUID. -- Bill Davidsen "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -- 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/