On Thu, 2004-03-11 at 23:04, Raimund Eimann wrote:
> Hi,
>
> when I connect several FireWire disks, they're available through
>
> /dev/sda
> /dev/sdb
> ...
>
> where sda is the disk connected first, sdb the disk I connected second and so
> on. Is there a way to identify the disks in a way so that certain disks are
> always available through a previously specified device? F.i., on of my disks
> should always be accessible through /dev/sdd, no matter if I connected three
> other disks before...
>
> Would appreciate a short description of how to do that (I'm sure it's possible
> somehow) or a pointer to the appropriate docs...
I just got done installing udev on my system for this very reason. This
is essentially what udev was made for in the first place. Unfortunately,
it requires a 2.6 series kernel. But the results are wonderful. I've got
5 removable drives (some FireWire, some USB 2.0, some USB 1.1) that all
get correctly detected and mounted to exactly where I want them,
regardless of which order I plug them in.
It's really been great so far. It's a bit of an initial time investment
if you're not already running a 2.6 series kernel. I was still using
2.4.22 before deciding to install udev, and to get everything back up
and running and working the way I wanted it to took me 3 days. But once
it's done it's well worth it.
If you're in a mission-critical environment of some sort and a 2.6
series kernel isn't an option, there are ways around it. As another
poster mentioned, you can change the device labels on the drives. I had
actually been thinking about writing a small Perl script that would get
called by hotplug and create a symlink to the device based on
information it found for that device under /proc. If you can't use udev,
that would be an almost equivalent (though not nearly as robust)
solution.
-- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:47 CEST