Re: Mapping disks to fixed mountpoints

From: Alex Malinovich <demonbane_at_the-love-shack.net>
Date: Sat 13 Mar 2004 - 10:35:11 CET
Message-Id: <1079170510.6633.2.camel@Thief>

On Fri, 2004-03-12 at 17:24, Gregory Gulik wrote:
> I've been following this thread because I've had the same issues. I use
> several large drives in a USB 2.0/1394 enclosure. I rotate the drives
> on a regular basis.
>
> I've tried to use devlabel (2.4 kernel Feodra Core 1) to label the
> drives but I find that I can't have two different drives with the same
> label.
>
> Is there a trick to get around that so no matter which drive is in the
> enclosure it'll be recognized and mounted as /backup ???

If a 2.6 series kernel is an option (See my previous reply to this
thread), udev would allow you to exactly that. I have an external
firewire enclosure that gets assigned a device entry based on the vendor
and product string returned over the firewire bus. (I COULD get the hard
drive vendor and product string if I wanted, but I don't in this case.)
This allows me to always put that enclosure on the same device entry
regardless of what happens to be in it. This especially useful for my
5.25" enclosure as it could have a hard drive, or a DVD drive, or just
about anything else inside, but I'll always know which device entry, and
therefore, which mount point it goes to.

-- 
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

Received on Sat Mar 13 10:37:39 2004

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:47 CEST