public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] confused udev?
@ 2005-11-17  9:26 Jorge Almeida
  2005-11-17  9:49 ` Dirk Heinrichs
  0 siblings, 1 reply; 32+ messages in thread
From: Jorge Almeida @ 2005-11-17  9:26 UTC (permalink / raw
  To: gentoo-user

I have a USB memory stick and an external USB box with an IDE disk.
I configured udev to assign device names to both items, or so I thought.
The external box is plugged, the memory stick isn't.
The problem is: the device for the box is not created, and the memstick
device exists but represents the box, not the stick. I read
http://www.reactivated.net/writing_udev_rules.html#identify-sysfs
and
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html

What else should I do?

The gory details:

	$ ls /etc/udev/rules.d/
	40-my.rules  40-my.rules~  50-udev.rules
	
	$ cat /etc/udev/rules.d/40-my.rules
	BUS="scsi", SYSFS{vendor}="PLEXTOR ", SYSFS_model="PlexFlash-2*", NAME="plextor_memstick%n"
	BUS="scsi", SYSFS{vendor}="Maxtor 6 ", SYSFS_model="L250R0*", NAME="external_hd%n"

I tried also SYSFS_vendor instead of SYSFS{vendor} ...
	
	$ mount -t auto /dev/plextor_memstick1 /mnt/maxtor/
	$ ls /mnt/maxtor/
	lost+found

-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-11-23 21:23 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-17  9:26 [gentoo-user] confused udev? Jorge Almeida
2005-11-17  9:49 ` Dirk Heinrichs
2005-11-17 12:43   ` Jorge Almeida
2005-11-17 13:54     ` Dirk Heinrichs
2005-11-17 14:14       ` Jorge Almeida
2005-11-18 10:21         ` Dirk Heinrichs
2005-11-18 10:29           ` Neil Bothwick
2005-11-18 10:40             ` Dirk Heinrichs
2005-11-18 10:31           ` Jorge Almeida
2005-11-20  2:21             ` Richard Fish
2005-11-20 11:21               ` Jorge Almeida
2005-11-21 15:18                 ` Richard Fish
2005-11-22 11:46                   ` Jorge Almeida
2005-11-23  4:10                     ` Richard Fish
2005-11-23  9:32                       ` Jorge Almeida
2005-11-23 15:07                         ` Richard Fish
2005-11-23 21:13                           ` Jorge Almeida
2005-11-17 14:14     ` Richard Fish
2005-11-17 16:19       ` Jorge Almeida
2005-11-17 17:11         ` Richard Fish
2005-11-17 17:47           ` Jorge Almeida
2005-11-17 18:14             ` Richard Fish
2005-11-17 18:23               ` Jorge Almeida
2005-11-17 20:15                 ` Richard Fish
2005-11-17 20:49                   ` Jorge Almeida
2005-11-17 21:11                     ` Richard Fish
2005-11-17 22:04                       ` Jorge Almeida
2005-11-17 23:57                         ` Richard Fish
2005-11-18  8:33                           ` Jorge Almeida
2005-11-18  7:03                       ` Dirk Heinrichs
2005-11-18  6:56         ` Dirk Heinrichs
2005-11-18  8:36           ` Jorge Almeida

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