linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* renaming causes incorrect device creation
@ 2004-03-17  2:14 xsdg
  2004-03-17  7:44 ` Bob Barry
  2004-03-17  8:33 ` Bob Barry
  0 siblings, 2 replies; 3+ messages in thread
From: xsdg @ 2004-03-17  2:14 UTC (permalink / raw)
  To: linux-hotplug

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

Normally, when I plug in my camera, I see (in /udev/):

brw-------    1 root     root       8,   0 2004-03-17 01:53 sda
brw-------    1 root     root       8,   1 2004-03-17 01:53 sda1

I then add to udev.rules:
BUS=3D"scsi", SYSFS{model}=3D"Sony DSC        ", NAME=3D"removable/camera%n"

after adding, I see:
brw-------    1 root     root       8,   0 2004-03-17 01:55 camera
crw-------    1 root     root      21,   1 2004-03-17 01:55 camera1

I'm starting off with the default installed udev.rules.  This also occurs when
I try to get my key drive going with:

BUS=3D"scsi", SYSFS{vendor}=3D"LEXAR   ", SYSFS{model}=3D"JUMPDRIVE PRO   ", NAME=3D"removable/jdrive%n"

brw-------    1 root     root       8,  16 2004-03-17 01:31 jdrive
crw-------    1 root     root      21,   2 2004-03-17 01:31 jdrive2

Also note that jdrive2 should not exist; only disc and generic exist in devfs, 
and I set the drive up _without_ partitioning (mkfs.vfat /udev/sda)


-- 
| If you have to do something wrong to get what you |
|   want, it's really not worth having.             |
) http://www.cuodan.net/~xsdg/    xsdg@freenode.org (


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

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

end of thread, other threads:[~2004-03-17  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-17  2:14 renaming causes incorrect device creation xsdg
2004-03-17  7:44 ` Bob Barry
2004-03-17  8:33 ` Bob Barry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).