[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48521539.9020102@s5r6.in-berlin.de>
Date: Fri, 13 Jun 2008 08:35:37 +0200
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Shawn Jin <shawnxjin@...il.com>
CC: Tomasz Chmielewski <mangoo@...g.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Force a usb drive to be /dev/sda?
Shawn Jin wrote:
>> 1. Mount filesystems by UUID or by label.
>> Doesn't work with some filesystems.
>
> The bootloader I'm using is LILO. So I have to specify the boot device
> and the root device in lilo.conf. For example, boot=/dev/sda,
> root=/dev/sda1. I'm not sure how mounting filesystem by UUID or by
> label can help. A little bit elaboration will be more helpful.
Ah I forgot that... Looks like this requires an initrd too, though
without special scripts of your own.
>> 2. Refer to devices by device ID or by device path.
...
> Every USB thumb drive has a unique ID. So will I have to have a
> different root filesystem image if it's install in a different usb
> drive if the by-id way is adopted?
That's right, hence a filesystem ID is preferable over a drive ID.
--
Stefan Richter
-=====-==--- -==- -==-=
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists