Hi Noam,

You have 2 options which you can use (and you can use them either
manually or through /etc/fstab)

1. You can label the partitions and mount them using the labels (or
manually using mount -L) or
2. You can use the mount with UUID (mount -U).

See: http://linux.die.net/man/8/mount

As for the switch, I think (not sure though) this happens when a
device is recognized, the system assign /dev/ node for it, so  you can
bypass it by playing with the /etc/udev stuff, although the easiest
way to solve this issue IMHO would be like I wrote above.

Hetz

On Fri, Jul 18, 2008 at 10:37 AM, Noam Rathaus <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a strange problem where my external HD is assigned to /dev/sdb and my
> SATA disk is assigned to /dev/sda
>
> But every once in a while, they decide to switch places (during boot), any
> idea how I can "fix" this - so they do not switch places?
>
> --
> Noam Rathaus
> CTO
> [EMAIL PROTECTED]
> http://www.beyondsecurity.com
>
> "Know that you are safe."
>
> Beyond Security Finalist for the "Red Herring 100 Global" Awards 2007
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>



-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to