devfs
[Top] [All Lists]

Re: Possible problems of /dev/discs/disc? name scheme

To: Giacomo Catenazzi <cate@xxxxxxxxxxxxx>
Subject: Re: Possible problems of /dev/discs/disc? name scheme
From: Goswin Brederlow <goswin.brederlow@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 22 Jun 2000 02:42:49 +0200
Cc: devfs@xxxxxxxxxxx
In-reply-to: Giacomo Catenazzi's message of "Wed, 21 Jun 2000 14:14:52 +0200 (CEST)"
References: <Pine.LNX.4.21.0006211409560.7547-100000@neper.ethz.ch>
Sender: owner-devfs@xxxxxxxxxxx
>>>>> " " == Giacomo Catenazzi <cate@xxxxxxxxxxxxx> writes:

     > Hi!  I've a IDE hard disk in /dev/discs/disc0 and when pluged
     > also a IOMAGE external zip drive (Paralel port with SCSI
     > drivers) in /dev/discs/disc1.

     > Problem: If I decide to install a new IDE harddisk, all my
     > configurations are wrong.  I don't see in documentation how to
     > force the new drive IDE to be disc2.

     > There are a simpler methods? How to handle this?

The best way to handle stuff like this I found is to use lables.

Stick e2lables on all your filesystems and mount them by lable.
If you sort the drives differently (like when adding a drive), the
lables will be the same and everything works fine.

Only problem would be swap.

I though about using disk lables to create
/dev/discs/<disk lable>/partX and
/dev/discs/<disk lable>/<partition lable>, but never got around to do
it yet.

MfG
        Goswin

<Prev in Thread] Current Thread [Next in Thread>