* [gentoo-amd64] USB flash drive mount point fun
@ 2007-06-27 13:49 Mark Haney
2007-06-27 14:32 ` Lukas Oliva
2007-06-27 16:35 ` Homer Parker
0 siblings, 2 replies; 18+ messages in thread
From: Mark Haney @ 2007-06-27 13:49 UTC (permalink / raw
To: gentoo-amd64
Can anyone tell me why my USB flash drive, while connected to my laptop
would bounce from /media/sda1, to sdb1, to sdc1, to sdd1, to sde1?
I had to guess the correct mount point 3 times while copying files over.
I would like to assume one of the latest updates has done this, but I
can't be sure. It's never done that before. Ideas?
--
Da mihi sis bubulae frustrum assae, solana tuberosa in modo gallico
fricta, ac quassum lactatum coagulatum crassum
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
Call (866) ERC-7110 for after hours support
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 13:49 [gentoo-amd64] USB flash drive mount point fun Mark Haney
@ 2007-06-27 14:32 ` Lukas Oliva
2007-06-27 14:52 ` Mark Haney
2007-06-27 14:58 ` Mark Haney
2007-06-27 16:35 ` Homer Parker
1 sibling, 2 replies; 18+ messages in thread
From: Lukas Oliva @ 2007-06-27 14:32 UTC (permalink / raw
To: gentoo-amd64
Just a guess, do you unmount it?
On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney <mhaney@ercbroadband.org>
wrote:
> Can anyone tell me why my USB flash drive, while connected to my laptop
> would bounce from /media/sda1, to sdb1, to sdc1, to sdd1, to sde1?
>
> I had to guess the correct mount point 3 times while copying files over.
> I would like to assume one of the latest updates has done this, but I
> can't be sure. It's never done that before. Ideas?
>
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 14:32 ` Lukas Oliva
@ 2007-06-27 14:52 ` Mark Haney
2007-06-27 14:58 ` Mark Haney
1 sibling, 0 replies; 18+ messages in thread
From: Mark Haney @ 2007-06-27 14:52 UTC (permalink / raw
To: gentoo-amd64
Lukas Oliva wrote:
> Just a guess, do you unmount it?
>
> On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney <mhaney@ercbroadband.org>
> wrote:
>
>> Can anyone tell me why my USB flash drive, while connected to my laptop
>> would bounce from /media/sda1, to sdb1, to sdc1, to sdd1, to sde1?
>>
>> I had to guess the correct mount point 3 times while copying files over.
>> I would like to assume one of the latest updates has done this, but I
>> can't be sure. It's never done that before. Ideas?
>>
>
>
During the time while I was copying the files? No. It was connected
and mounted the entire time. I've never seen a mounted device
unmount/remount at a different mount point before. It's bizarre.
--
Da mihi sis bubulae frustrum assae, solana tuberosa in modo gallico
fricta, ac quassum lactatum coagulatum crassum
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
Call (866) ERC-7110 for after hours support
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 14:32 ` Lukas Oliva
2007-06-27 14:52 ` Mark Haney
@ 2007-06-27 14:58 ` Mark Haney
2007-06-27 15:18 ` Lukas Oliva
1 sibling, 1 reply; 18+ messages in thread
From: Mark Haney @ 2007-06-27 14:58 UTC (permalink / raw
To: gentoo-amd64
Lukas Oliva wrote:
> Just a guess, do you unmount it?
>
> On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney <mhaney@ercbroadband.org>
> wrote:
>
>> Can anyone tell me why my USB flash drive, while connected to my laptop
>> would bounce from /media/sda1, to sdb1, to sdc1, to sdd1, to sde1?
>>
>> I had to guess the correct mount point 3 times while copying files over.
>> I would like to assume one of the latest updates has done this, but I
>> can't be sure. It's never done that before. Ideas?
>>
>
>
Jun 26 12:10:51 octavian sde: sde1 sde2
Jun 26 12:10:52 octavian ivman: UDI
/org/freedesktop/Hal/devices/volume_uuid_0804_2032 is device /dev/sde1
Jun 26 12:10:52 octavian ivman: Device /dev/sde1 appears to be mountable
Jun 26 12:10:57 octavian ivman: Attempting to mount device /dev/sde1
Jun 26 12:10:57 octavian ivman: Running: pmount -u 007 '/dev/sde1'
Jun 26 12:10:58 octavian ivman: UDI
/org/freedesktop/Hal/devices/volume_uuid_0804_2032 is device /dev/sde1
Jun 26 12:10:58 octavian ivman: Device /dev/sde1 appears to be mountable
I just grepped syslog and get these messages logged for each mount point
(sda1 to sde1) throughout the time I had the flash drive connected
yesterday. It looks like ivman is misbehaving somehow.
--
Da mihi sis bubulae frustrum assae, solana tuberosa in modo gallico
fricta, ac quassum lactatum coagulatum crassum
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
Call (866) ERC-7110 for after hours support
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 14:58 ` Mark Haney
@ 2007-06-27 15:18 ` Lukas Oliva
2007-06-27 15:35 ` Mark Haney
0 siblings, 1 reply; 18+ messages in thread
From: Lukas Oliva @ 2007-06-27 15:18 UTC (permalink / raw
To: gentoo-amd64
Let me get this straight, you mount your flash disc, copy your files and
work and bythis time, you never get the stick off, you never do
umount/remount and for some reason you find, your device changed? Or 2)
You mounted coppied, worked, got it off, then replugged and saw different
device? Or 3) As in the second possibility, but unmounted it correctly
first?
If the second or third is what you did, you can write yourself some udev
rule.
plhu
On Wed, 27 Jun 2007 16:58:24 +0200, Mark Haney <mhaney@ercbroadband.org>
wrote:
> Lukas Oliva wrote:
>> Just a guess, do you unmount it?
>>
>> On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney <mhaney@ercbroadband.org>
>> wrote:
>>
<snip>
>>
>>
> Jun 26 12:10:51 octavian sde: sde1 sde2
> Jun 26 12:10:52 octavian ivman: UDI
> /org/freedesktop/Hal/devices/volume_uuid_0804_2032 is device /dev/sde1
> Jun 26 12:10:52 octavian ivman: Device /dev/sde1 appears to be mountable
> Jun 26 12:10:57 octavian ivman: Attempting to mount device /dev/sde1
> Jun 26 12:10:57 octavian ivman: Running: pmount -u 007 '/dev/sde1'
> Jun 26 12:10:58 octavian ivman: UDI
> /org/freedesktop/Hal/devices/volume_uuid_0804_2032 is device /dev/sde1
> Jun 26 12:10:58 octavian ivman: Device /dev/sde1 appears to be mountable
>
> I just grepped syslog and get these messages logged for each mount point
> (sda1 to sde1) throughout the time I had the flash drive connected
> yesterday. It looks like ivman is misbehaving somehow.
>
>
>
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 15:18 ` Lukas Oliva
@ 2007-06-27 15:35 ` Mark Haney
2007-06-27 15:39 ` Lukas Oliva
` (2 more replies)
0 siblings, 3 replies; 18+ messages in thread
From: Mark Haney @ 2007-06-27 15:35 UTC (permalink / raw
To: gentoo-amd64
Lukas Oliva wrote:
> Let me get this straight, you mount your flash disc, copy your files
> and work and bythis time, you never get the stick off, you never do
> umount/remount and for some reason you find, your device changed? Or 2)
> You mounted coppied, worked, got it off, then replugged and saw
> different device? Or 3) As in the second possibility, but unmounted it
> correctly first?
> If the second or third is what you did, you can write yourself some udev
> rule.
>
> plhu
>
Okay, obviously I'm sucking at making things clear today. Here's a
second stab at what I"m doing. I have a USB flash drive (2GB). I plub
it into the USB port on my laptop. I copy files. I dig around for the
other files I need, I go back to copy more files (via konqueror) and
/while the usb drive is still and has been connected the entire time/ I
look and see that the drive has moved from /media/sda1 to /media/sdb1.
I copy more files, look around, find more things to copy, go back and
the drive is now at /media/sdc1, etc. All the while I've not unmounted
or removed the drive at all. It's just sitting there blinking it's
little green LED light occasionally.
Does that make a little more sense?
--
Da mihi sis bubulae frustrum assae, solana tuberosa in modo gallico
fricta, ac quassum lactatum coagulatum crassum
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
Call (866) ERC-7110 for after hours support
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 15:35 ` Mark Haney
@ 2007-06-27 15:39 ` Lukas Oliva
2007-06-27 15:45 ` Bob Sanders
2007-06-27 16:32 ` Guillermo Antonio Amaral Bastidas
2 siblings, 0 replies; 18+ messages in thread
From: Lukas Oliva @ 2007-06-27 15:39 UTC (permalink / raw
To: gentoo-amd64
Yes, this is clear. Well I have never seen this, but (just another
guess), as you seem to use KDE, does KDE use ivman or does it handle
automatical mounting by its own mechanism? If so than maybe you should
check some KDE setting for this. The best thing Ican say is: try to enable
ivman/udev verbose logging and see why it is disconnected/reconnected. The
other thng you could do is to disable ivman temporarily and see if KDE can
mount it on its own.
Lukas
On Wed, 27 Jun 2007 17:35:20 +0200, Mark Haney <mhaney@ercbroadband.org>
wrote:
> Lukas Oliva wrote:
>> Let me get this straight, you mount your flash disc, copy your files
>> and work and bythis time, you never get the stick off, you never do
>> umount/remount and for some reason you find, your device changed? Or 2)
>> You mounted coppied, worked, got it off, then replugged and saw
>> different device? Or 3) As in the second possibility, but unmounted it
>> correctly first?
>> If the second or third is what you did, you can write yourself some udev
>> rule.
>>
>> plhu
>>
>
> Okay, obviously I'm sucking at making things clear today. Here's a
> second stab at what I"m doing. I have a USB flash drive (2GB). I plub
> it into the USB port on my laptop. I copy files. I dig around for the
> other files I need, I go back to copy more files (via konqueror) and
> /while the usb drive is still and has been connected the entire time/ I
> look and see that the drive has moved from /media/sda1 to /media/sdb1.
>
> I copy more files, look around, find more things to copy, go back and
> the drive is now at /media/sdc1, etc. All the while I've not unmounted
> or removed the drive at all. It's just sitting there blinking it's
> little green LED light occasionally.
>
> Does that make a little more sense?
>
>
>
>
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 15:35 ` Mark Haney
2007-06-27 15:39 ` Lukas Oliva
@ 2007-06-27 15:45 ` Bob Sanders
2007-06-27 16:32 ` Neil Bothwick
2007-06-27 16:32 ` Guillermo Antonio Amaral Bastidas
2 siblings, 1 reply; 18+ messages in thread
From: Bob Sanders @ 2007-06-27 15:45 UTC (permalink / raw
To: gentoo-amd64
Mark Haney, mused, then expounded:
>
> Does that make a little more sense?
>
The logfile told all. My guess is during usb bus resets/rediscovery (an
automatic thing) ivman has the mount, but because the lowered numbered
drive is already there, a new device gets created (probably by ivman)
and remounted as the old one disappeared, but the node in /dev still exists.
My guess is if you get rid of ivman, this will not occur anymore. Of course
you're back to old, boring, reliable, manual mounting/umounting of removeable
devices.
Bob
-
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 15:45 ` Bob Sanders
@ 2007-06-27 16:32 ` Neil Bothwick
2007-06-27 18:29 ` Mark Haney
0 siblings, 1 reply; 18+ messages in thread
From: Neil Bothwick @ 2007-06-27 16:32 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
On Wed, 27 Jun 2007 08:45:10 -0700, Bob Sanders wrote:
> My guess is if you get rid of ivman, this will not occur anymore. Of
> course you're back to old, boring, reliable, manual mounting/umounting
> of removeable devices.
Except that KDE will handle it automatically without ivman. It is
possible that KDE and ivman are fighting over the drive, causing the
repeated remounting. Get rid of ivman, let KDE do it all itself and see
whether the problem persists.
--
Neil Bothwick
Taglines are like cars - You get a good one, then someone nicks it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 15:35 ` Mark Haney
2007-06-27 15:39 ` Lukas Oliva
2007-06-27 15:45 ` Bob Sanders
@ 2007-06-27 16:32 ` Guillermo Antonio Amaral Bastidas
2007-06-27 18:15 ` Beso
2 siblings, 1 reply; 18+ messages in thread
From: Guillermo Antonio Amaral Bastidas @ 2007-06-27 16:32 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]
On Wednesday 27 June 2007 08:35:20 Mark Haney wrote:
> Okay, obviously I'm sucking at making things clear today. Here's a
> second stab at what I"m doing. I have a USB flash drive (2GB). I plub
> it into the USB port on my laptop. I copy files. I dig around for the
> other files I need, I go back to copy more files (via konqueror) and
> /while the usb drive is still and has been connected the entire time/ I
> look and see that the drive has moved from /media/sda1 to /media/sdb1.
>
> I copy more files, look around, find more things to copy, go back and
> the drive is now at /media/sdc1, etc. All the while I've not unmounted
> or removed the drive at all. It's just sitting there blinking it's
> little green LED light occasionally.
>
> Does that make a little more sense?
I have seen this in a friends workstation that had a external usb hard
drive, what I noticed then was that something goes wrong when writing to the
device and the USB resets, it can be many small writes or one big flush, in
this particular case it got fixed by moving the drive from one port to
another... I know it sounds odd but it happends on my laptop aswell with my
wifi, thumbdrive and usb phone in one particular port... they all work fine
on the other 3 ports
--
Guillermo Antonio Amaral Bastidas
# Free & Open Source Software Advocate
# KDE Developer (gamaral)
$ irc: guillermoamaral@freenode
@ blog: http://blog.guillermoamaral.com/
@ site: http://www.guillermoamaral.com/
% gpg: http://downloads.guillermoamaral.com/public.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 13:49 [gentoo-amd64] USB flash drive mount point fun Mark Haney
2007-06-27 14:32 ` Lukas Oliva
@ 2007-06-27 16:35 ` Homer Parker
2007-06-27 18:44 ` Jeffrey Gardner
1 sibling, 1 reply; 18+ messages in thread
From: Homer Parker @ 2007-06-27 16:35 UTC (permalink / raw
To: gentoo-amd64
On Wed, 2007-06-27 at 09:49 -0400, Mark Haney wrote:
> Can anyone tell me why my USB flash drive, while connected to my laptop
> would bounce from /media/sda1, to sdb1, to sdc1, to sdd1, to sde1?
>
Use udev to name it:
http://www.gentoo.org/doc/en/udev-guide.xml
--
Homer Parker <hparker@gentoo.org>
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 16:32 ` Guillermo Antonio Amaral Bastidas
@ 2007-06-27 18:15 ` Beso
0 siblings, 0 replies; 18+ messages in thread
From: Beso @ 2007-06-27 18:15 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
to be honest i also experienced something similar: when i plug in my
external 2.5'' disk after some time (from 30 sec to 5 min) it gets mad and
doesn't use it anymore.... i thought i was something of my configuration and
didn't used it on gentoo anymore, but now i feel that it isn't only a
misconfiguration.... the strange thing is that this problem doesn't come
with the 1gb portable device and the mtp....
>
> I have seen this in a friends workstation that had a external usb hard
> drive, what I noticed then was that something goes wrong when writing to
> the
> device and the USB resets, it can be many small writes or one big flush,
> in
> this particular case it got fixed by moving the drive from one port to
> another... I know it sounds odd but it happends on my laptop aswell with
> my
> wifi, thumbdrive and usb phone in one particular port... they all work
> fine
> on the other 3 ports
--
beso
d-_-b
[-- Attachment #2: Type: text/html, Size: 1147 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 16:32 ` Neil Bothwick
@ 2007-06-27 18:29 ` Mark Haney
0 siblings, 0 replies; 18+ messages in thread
From: Mark Haney @ 2007-06-27 18:29 UTC (permalink / raw
To: gentoo-amd64
Neil Bothwick wrote:
> On Wed, 27 Jun 2007 08:45:10 -0700, Bob Sanders wrote:
>
>> My guess is if you get rid of ivman, this will not occur anymore. Of
>> course you're back to old, boring, reliable, manual mounting/umounting
>> of removeable devices.
>
> Except that KDE will handle it automatically without ivman. It is
> possible that KDE and ivman are fighting over the drive, causing the
> repeated remounting. Get rid of ivman, let KDE do it all itself and see
> whether the problem persists.
>
>
Yep I bet this is the case. I've never had a problem with this before
with it like this, but that doesn't mean anything in my world.
--
Da mihi sis bubulae frustrum assae, solana tuberosa in modo gallico
fricta, ac quassum lactatum coagulatum crassum
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
Call (866) ERC-7110 for after hours support
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 16:35 ` Homer Parker
@ 2007-06-27 18:44 ` Jeffrey Gardner
2007-06-27 19:43 ` Lukas Oliva
0 siblings, 1 reply; 18+ messages in thread
From: Jeffrey Gardner @ 2007-06-27 18:44 UTC (permalink / raw
To: gentoo-amd64
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Homer Parker wrote:
>
> Use udev to name it:
>
> http://www.gentoo.org/doc/en/udev-guide.xml
>
Here's an example rule that I use to create the /dev/memstick device for
my usb thumbdrive. It even beeps when I put it in :D
BUS=="usb", SYSFS{manufacturer}=="Prolific Technology Inc.",
SYMLINK="memstick", RUN+="/usr/bin/beep"
- --
Jeffrey Gardner
Gentoo Developer
Public PGP Key ID: 4A5D8F23
hkp://pgpkeys.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGgrAZiR2KxEpdjyMRAuYbAJ4pwLtnj+ICT8665hhk9bZWem74pgCgkUd9
VEns9Sm15JfqJ5tXydGZkbU=
=r7c9
-----END PGP SIGNATURE-----
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 18:44 ` Jeffrey Gardner
@ 2007-06-27 19:43 ` Lukas Oliva
2007-06-27 21:08 ` Jeffrey Gardner
0 siblings, 1 reply; 18+ messages in thread
From: Lukas Oliva @ 2007-06-27 19:43 UTC (permalink / raw
To: gentoo-amd64
That is nice, but could this be modified for every USB Mass storage
device or better just to flash memory?
On Wed, 27 Jun 2007 20:44:41 +0200, Jeffrey Gardner <je_fro@gentoo.org>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Homer Parker wrote:
>>
>> Use udev to name it:
>>
>> http://www.gentoo.org/doc/en/udev-guide.xml
>>
>
> Here's an example rule that I use to create the /dev/memstick device for
> my usb thumbdrive. It even beeps when I put it in :D
>
> BUS=="usb", SYSFS{manufacturer}=="Prolific Technology Inc.",
> SYMLINK="memstick", RUN+="/usr/bin/beep"
>
> - --
> Jeffrey Gardner
> Gentoo Developer
> Public PGP Key ID: 4A5D8F23
> hkp://pgpkeys.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGgrAZiR2KxEpdjyMRAuYbAJ4pwLtnj+ICT8665hhk9bZWem74pgCgkUd9
> VEns9Sm15JfqJ5tXydGZkbU=
> =r7c9
> -----END PGP SIGNATURE-----
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 19:43 ` Lukas Oliva
@ 2007-06-27 21:08 ` Jeffrey Gardner
2007-06-27 21:27 ` Lukas Oliva
0 siblings, 1 reply; 18+ messages in thread
From: Jeffrey Gardner @ 2007-06-27 21:08 UTC (permalink / raw
To: gentoo-amd64
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lukas Oliva wrote:
> That is nice, but could this be modified for every USB Mass storage
> device or better just to flash memory?
Yes, it can be modified for every device...here's more:
BUS=="ide", KERNEL=="hdd", NAME="%k", SYMLINK="dvd", GROUP="disk",
OPTIONS="last_rule"
BUS=="ide", KERNEL=="hdc", NAME="%k", SYMLINK="dvdburner", GROUP="disk",
OPTIONS="last_rule"
BUS=="usb", SYSFS{manufacturer}=="Sony DSC", KERNEL=="sd?1", NAME="%k",
SYMLINK="camera"
BUS=="usb", SYSFS{manufacturer}=="Handspring Inc", NAME="tts/USB1"
SYMLINK="pilot"
KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k",
SYMLINK="input/wacom"
SUBSYSTEMS=="scsi", SYSFS{vendor}=="ST325062", KERNEL=="sd?1",
SYMLINK="external"
KERNEL=="eth*", SYSFS{address}=="00:e0:81:2c:91:9e", NAME="eth0"
KERNEL=="eth*", SYSFS{address}=="00:04:23:9e:ed:16", NAME="eth1"
KERNEL=="eth*", SYSFS{address}=="00:04:23:9e:ed:17", NAME="eth2"
- --
Jeffrey Gardner
Gentoo Developer
Public PGP Key ID: 4A5D8F23
hkp://pgpkeys.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGgtG3iR2KxEpdjyMRAno7AKCaKufEl+V50gqo5PNizQU+4bUuAgCfa0Si
6tf9LZ+aKi8aOZKLr2LDsYI=
=SV0D
-----END PGP SIGNATURE-----
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 21:08 ` Jeffrey Gardner
@ 2007-06-27 21:27 ` Lukas Oliva
2007-06-27 21:47 ` Steev Klimaszewski
0 siblings, 1 reply; 18+ messages in thread
From: Lukas Oliva @ 2007-06-27 21:27 UTC (permalink / raw
To: gentoo-amd64
Yes, thanks for these, but I meant some way of teling udev - find out i
this is flash storage (general), no sata disk from box, no SD memory card,
no camera and mount it to /dev/flash.
On Wed, 27 Jun 2007 23:08:08 +0200, Jeffrey Gardner <je_fro@gentoo.org>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Lukas Oliva wrote:
>> That is nice, but could this be modified for every USB Mass storage
>> device or better just to flash memory?
>
> Yes, it can be modified for every device...here's more:
>
> BUS=="ide", KERNEL=="hdd", NAME="%k", SYMLINK="dvd", GROUP="disk",
> OPTIONS="last_rule"
> BUS=="ide", KERNEL=="hdc", NAME="%k", SYMLINK="dvdburner", GROUP="disk",
> OPTIONS="last_rule"
> BUS=="usb", SYSFS{manufacturer}=="Sony DSC", KERNEL=="sd?1", NAME="%k",
> SYMLINK="camera"
> BUS=="usb", SYSFS{manufacturer}=="Handspring Inc", NAME="tts/USB1"
> SYMLINK="pilot"
> KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k",
> SYMLINK="input/wacom"
> SUBSYSTEMS=="scsi", SYSFS{vendor}=="ST325062", KERNEL=="sd?1",
> SYMLINK="external"
> KERNEL=="eth*", SYSFS{address}=="00:e0:81:2c:91:9e", NAME="eth0"
> KERNEL=="eth*", SYSFS{address}=="00:04:23:9e:ed:16", NAME="eth1"
> KERNEL=="eth*", SYSFS{address}=="00:04:23:9e:ed:17", NAME="eth2"
>
>
>
> - --
> Jeffrey Gardner
> Gentoo Developer
> Public PGP Key ID: 4A5D8F23
> hkp://pgpkeys.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGgtG3iR2KxEpdjyMRAno7AKCaKufEl+V50gqo5PNizQU+4bUuAgCfa0Si
> 6tf9LZ+aKi8aOZKLr2LDsYI=
> =SV0D
> -----END PGP SIGNATURE-----
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-amd64] USB flash drive mount point fun
2007-06-27 21:27 ` Lukas Oliva
@ 2007-06-27 21:47 ` Steev Klimaszewski
0 siblings, 0 replies; 18+ messages in thread
From: Steev Klimaszewski @ 2007-06-27 21:47 UTC (permalink / raw
To: gentoo-amd64
Lukas Oliva wrote:
> Yes, thanks for these, but I meant some way of teling udev - find out
> i this is flash storage (general), no sata disk from box, no SD memory
> card, no camera and mount it to /dev/flash.
>
Hopefully you mean create a symlink to /dev/flash (which you can -- see
the rules with SYMLINK on it - there is a very good udev rules howto if
you search with Google.) I mean you COULD mount to /dev, but really,
thats kinda... odd. All you have to do is figure out something that
defines the device itself - an exampled would be the
BUS=="usb", SYSFS{manufacturer}=="Sony DSC"
line. You would just need to see what all the device puts in /sys/ and
go from there...
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2007-06-27 21:51 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-27 13:49 [gentoo-amd64] USB flash drive mount point fun Mark Haney
2007-06-27 14:32 ` Lukas Oliva
2007-06-27 14:52 ` Mark Haney
2007-06-27 14:58 ` Mark Haney
2007-06-27 15:18 ` Lukas Oliva
2007-06-27 15:35 ` Mark Haney
2007-06-27 15:39 ` Lukas Oliva
2007-06-27 15:45 ` Bob Sanders
2007-06-27 16:32 ` Neil Bothwick
2007-06-27 18:29 ` Mark Haney
2007-06-27 16:32 ` Guillermo Antonio Amaral Bastidas
2007-06-27 18:15 ` Beso
2007-06-27 16:35 ` Homer Parker
2007-06-27 18:44 ` Jeffrey Gardner
2007-06-27 19:43 ` Lukas Oliva
2007-06-27 21:08 ` Jeffrey Gardner
2007-06-27 21:27 ` Lukas Oliva
2007-06-27 21:47 ` Steev Klimaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox