[5823] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: Linux Athena and SATA operation modes

daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Thu Aug 30 20:07:52 2007

To: "andrew m. boardman" <amb@MIT.EDU>
Cc: release-team@MIT.EDU
From: amu@alum.MIT.EDU (Aaron M. Ucko)
Date: Thu, 30 Aug 2007 20:07:08 -0400
In-Reply-To: <Release_7.7_team:5821@unknown-discuss-server> (andrew m. boardman's message of "Thu, 30 Aug 2007 17:53:01 -0400")
Message-ID: <udl8x7so9cj.fsf@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Flag: NO
X-Spam-Score: 0.00

"andrew m. boardman" <amb@MIT.EDU> writes:

> I have a basic shell script that deals with the conversion, specifically 
> /afs/dev/user/amb/scripts/convert-to-sata.sh.  Any objections to moving
> this to the release locker and publishing a stock answer on using it?

How about converting to a largely device-name-independent setup based
on UUIDs or labels?  You can find a file system's UUID by running

    blkid -s UUID -o value /dev/xxx

and then replace the literal device name with UUID=....  (Some
kernel/udev combinations also support /dev/disk/by-uuid/... device
paths, but Athena's does not appear to, so that won't help with GRUB;
however, I believe it should be more robust in the face of such BIOS
setting changes anyway.)

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu

home help back first fref pref prev next nref lref last post