Re: USB MagicOk

2002-12-26 Thread Nathan E Norman
On Thu, Dec 26, 2002 at 01:07:48PM -0600, Ron Johnson wrote:
> On Thu, 2002-12-26 at 10:52, Hal Vaughan wrote:
> > I've noticed the same problem on a Mandrake system I have.  I had times when I 
> > had a SanDisk Cruzer (ramdrive) and a USB floppy plugged into the USB ports 
> > and there was no way (without doing an "ls") to distinguish which was which.  
> > The first one plugged in was always /dev/sda, the 2nd /dev/sdb.
> > 
> > Isn't there some way to lock a device ID with a particluar device?
> 
> Hi,
> 
> I'm 99 44/100th sure that this is just the nature of the SCSI drivers.
> 
> However...  with devfs, you may be able to work around that issue.  Of
> course, moving to devfs is a *big* change, and worthy of much study,
> 1st.

It's not _that_ big.  For the most part, all you need to do is install
devfsd (which does no harm if the kernel doesn't support devfs), and
either compile a new kernel which supports devfs, or enable devfs in
your current kernel by adding "devfs=mount" to the boot options.  I
believe the stock kernels support devfs but do not enable (mount) it
by default; however I never use the stock kernels so I'm sure someone
will correct me (Hi Herbert :)

Best,

-- 
Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED]
  You can have Peace, or you can have Freedom. Don't ever count on
  having both at the same time.
  -- Robert A. Heinlein


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: USB MagicOk

2002-12-26 Thread Ron Johnson
On Thu, 2002-12-26 at 10:52, Hal Vaughan wrote:
> I've noticed the same problem on a Mandrake system I have.  I had times when I 
> had a SanDisk Cruzer (ramdrive) and a USB floppy plugged into the USB ports 
> and there was no way (without doing an "ls") to distinguish which was which.  
> The first one plugged in was always /dev/sda, the 2nd /dev/sdb.
> 
> Isn't there some way to lock a device ID with a particluar device?

Hi,

I'm 99 44/100th sure that this is just the nature of the SCSI drivers.

However...  with devfs, you may be able to work around that issue.  Of
course, moving to devfs is a *big* change, and worthy of much study,
1st.

> On Thursday 26 December 2002 11:40 am, Robert L. Harris wrote:
> > Scenario:
> >
> > 1 computer with USB Hub
> >
> > 2 USB 32Meg key fobs
> > 1 USB MP3 player with 10Gig drive
> >
> >
> > All 3 devices link in as /dev/sd?
> >
> > Is there a good way to assign ID's to these devices?  As it stands right
> > now whatever device I plug in first is /dev/sda, second is b, etc.  Is
> > there a way to make it so the MP3 player is always sda, one fob is
> > always sdb and one is always c?  It would make managing multiple devices
> > at once alot easier, especially when sync'ing the fobs.

-- 
+---+
| Ron Johnson, Jr.mailto:[EMAIL PROTECTED]  |
| Jefferson, LA  USA  http://members.cox.net/ron.l.johnson  |
|   |
| "My advice to you is to get married: If you find a good wife, |
| you will be happy; if not, you will become a philosopher."|
|Socrates   |
+---+


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: USB MagicOk

2002-12-26 Thread Hal Vaughan
I've noticed the same problem on a Mandrake system I have.  I had times when I 
had a SanDisk Cruzer (ramdrive) and a USB floppy plugged into the USB ports 
and there was no way (without doing an "ls") to distinguish which was which.  
The first one plugged in was always /dev/sda, the 2nd /dev/sdb.

Isn't there some way to lock a device ID with a particluar device?

Hal

On Thursday 26 December 2002 11:40 am, Robert L. Harris wrote:
> Scenario:
>
> 1 computer with USB Hub
>
> 2 USB 32Meg key fobs
> 1 USB MP3 player with 10Gig drive
>
>
> All 3 devices link in as /dev/sd?
>
> Is there a good way to assign ID's to these devices?  As it stands right
> now whatever device I plug in first is /dev/sda, second is b, etc.  Is
> there a way to make it so the MP3 player is always sda, one fob is
> always sdb and one is always c?  It would make managing multiple devices
> at once alot easier, especially when sync'ing the fobs.
>
> :wq!
>
> ---
> Robert L. Harris | PGP Key ID: FC96D405
>
> DISCLAIMER:
>   These are MY OPINIONS ALONE.  I speak for no-one else.
> FYI:
>  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




USB MagicOk

2002-12-26 Thread Robert L. Harris


Scenario:

1 computer with USB Hub

2 USB 32Meg key fobs
1 USB MP3 player with 10Gig drive


All 3 devices link in as /dev/sd?

Is there a good way to assign ID's to these devices?  As it stands right
now whatever device I plug in first is /dev/sda, second is b, etc.  Is
there a way to make it so the MP3 player is always sda, one fob is
always sdb and one is always c?  It would make managing multiple devices
at once alot easier, especially when sync'ing the fobs.



:wq!
---
Robert L. Harris | PGP Key ID: FC96D405
   
DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




msg21101/pgp0.pgp
Description: PGP signature