public inbox for gentoo-ppc-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-ppc-user] Can I force USB drives' device name?
@ 2005-05-03 23:34 Carl Hudkins
  2005-05-04  6:22 ` Neil Bothwick
  0 siblings, 1 reply; 3+ messages in thread
From: Carl Hudkins @ 2005-05-03 23:34 UTC (permalink / raw
  To: gentoo-ppc-user

Hi, list!

 I've got two USB storage devices here, a Jump Drive and a floppy/superdisk 
drive.  When plugged in by itself, the floppy drive becomes /dev/sda; the 
Jump Drive becomes /dev/sda1.  When they are both plugged in together, 
whichever one was plugged in first gets /dev/sda(1), and the other 
becomes /dev/sdb(1).  This behavior is expected and understood.

 What I'd like to know is whether or not it's possible to make the floppy 
drive, for example, *always* /dev/sdb, even if it's plugged in by itself.  
This would simplify life by allowing me to have /etc/fstab always know where 
the floppy drive is, make desktop icons, etc.

 Does anyone know how to do this?

-- 
// Carl Hudkins :: Jabber  yther@amessage.info :: PGP 50238D9E
//
//               ==]  What would Jeeves do?  [==
// 
//                            (X-Spam-To: collapsar@yther.net)
-- 
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-ppc-user] Can I force USB drives' device name?
  2005-05-03 23:34 [gentoo-ppc-user] Can I force USB drives' device name? Carl Hudkins
@ 2005-05-04  6:22 ` Neil Bothwick
  2005-05-04 12:53   ` Carl Hudkins
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Bothwick @ 2005-05-04  6:22 UTC (permalink / raw
  To: gentoo-ppc-user

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

On Tue, 3 May 2005 19:34:32 -0400, Carl Hudkins wrote:

>  What I'd like to know is whether or not it's possible to make the
> floppy drive, for example, *always* /dev/sdb, even if it's plugged in
> by itself. This would simplify life by allowing me to have /etc/fstab
> always know where the floppy drive is, make desktop icons, etc.

With suitable udev rules, you can name them anything you like, say /dev/
floppy and /dev/jumpdisk. See http://www.gentoo.org/doc/en/udev-guide.xml
and http://www.reactivated.net/udevrules.php


-- 
Neil Bothwick

"Email is not to be used to pass on information or data. It should be
 used only for company business."

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-ppc-user] Can I force USB drives' device name?
  2005-05-04  6:22 ` Neil Bothwick
@ 2005-05-04 12:53   ` Carl Hudkins
  0 siblings, 0 replies; 3+ messages in thread
From: Carl Hudkins @ 2005-05-04 12:53 UTC (permalink / raw
  To: gentoo-ppc-user

On Wed May 4 2005 02:22, Neil Bothwick wrote:

> With suitable udev rules, you can name them anything you like, say /dev/
> floppy and /dev/jumpdisk. See http://www.gentoo.org/doc/en/udev-guide.xml
> and http://www.reactivated.net/udevrules.php

 [skims intro]

 That looks like exactly what I was hoping for.  Thanks!

-- 
// Carl Hudkins :: Jabber  yther@amessage.info :: PGP 50238D9E
//
//               ==]  What would Jeeves do?  [==
// 
//                            (X-Spam-To: collapsar@yther.net)
-- 
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-04 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-03 23:34 [gentoo-ppc-user] Can I force USB drives' device name? Carl Hudkins
2005-05-04  6:22 ` Neil Bothwick
2005-05-04 12:53   ` Carl Hudkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox