On Sat, Apr 01, 2006 at 12:30:20PM -0800, David Liontooth wrote: > Another way to solve this -- sort of oldfashioned but very elegant -- is > to use labels. Say you want to label drives tv0 to tv2: > > * ext2 and ext3: e2label or "tune2fs -L tv0 /dev/sde1" > * XFS: "xfs_admin -L tv1 /dev/sda1" (max 12 characters, unmounted drive) > * JFS: "jfs_tune -L tv2 /dev/sdb1" (max 16 characters) > > In /etc/fstab, > > LABEL=tv0 /tv0 ext2 auto,defaults,user,exec > 0 0 > LABEL=tv1 /tv1 jfs auto,defaults,user,exec > 0 0 > LABEL=tv2 /tv2 xfs auto,defaults,user,exec > 0 0 > > No matter how you attach the drives -- SATA channel, USB -- they will be > mounted where they should. > This has been around for so long that it's rumored the guy who came up > with it also invented the wheel!
I tried that, but my initrd said something about not finding /dev/disk/label/ROOT when I passed root=LABEL=ROOT, and I had labeled the root filesystem with e2label. So either something doesn't work with labels in 2.6.15, or initramfs-tools doesn't generate an initrd that supports it. If someone knows how to solve that part of it, then I will be using labels to fix this. Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

