On 6/9/06, Daniel Drake <[EMAIL PROTECTED]> wrote:
Richard Fish wrote:
> One problem with this. Udev will apply all matching rules until it
> finds one with a NAME entry. So you probably want MODE:="0666" to
> prevent any later rules from overwriting your mode.
This isn't entirely true, udev d
Richard Fish wrote:
One problem with this. Udev will apply all matching rules until it
finds one with a NAME entry. So you probably want MODE:="0666" to
prevent any later rules from overwriting your mode.
This isn't entirely true, udev doesn't stop at NAME any more. It stops
at the end of th
-Original Message-
From: "Daevid Vincent" <[EMAIL PROTECTED]>
Subj: RE: [gentoo-user] help with UDEV and USB flash drive
Date: Fri 9 Jun 2006 20:32
Size: 848 bytes
To:
Now the second part of this. SOMETIMES, when I plug the stick in (I assume
that's when it h
On 6/9/06, Daevid Vincent <[EMAIL PROTECTED]> wrote:
Thanks everybody that was the trick. I settled upon this:
BUS=="usb", KERNEL=="sd?1", SYSFS{idVendor}=="0ef5",
SYSFS{idProduct}=="2202", SYMLINK="istick%n", MODE="0666"
One problem with this. Udev will apply all matching rules until it
find
On 09/06/06, Daevid Vincent <[EMAIL PROTECTED]> wrote:
Also related, is there an easy way to make this stick auto un/mount upon
removal/insertion respectively?
Try looking into autofs .. simple to setup and works really well for
me with my USB/CD-ROM devices.
Mark
--
gentoo-user@gentoo.org mai
Thanks everybody that was the trick. I settled upon this:
BUS=="usb", KERNEL=="sd?1", SYSFS{idVendor}=="0ef5",
SYSFS{idProduct}=="2202", SYMLINK="istick%n", MODE="0666"
And for my /etc/fstab entry:
/dev/istick1 /mnt/istick vfat defaults,noauto,user,umask=000 0 0
Now the second part of this.
Am Freitag, 9. Juni 2006 10:12 schrieb ext Daevid Vincent:
Another hint:
> locutus mnt # cat /etc/udev/rules.d/local.rules
> # This is for my Intelligent Stick USB Memory flash drive
> BUS=="usb", SYSFS{serial}=="20031112223132-01", NAME="istick",
> MODE="0666"
>
> locutus linux # cat /etc/fstab
Am Freitag, 9. Juni 2006 12:16 schrieb ext Neil Bothwick:
> On Fri, 9 Jun 2006 10:59:13 +0200, Dirk Heinrichs wrote:
> > > That's because you are trying to mount the whole device, not the
> > > partition.
> >
> > Even the whole device should be a block device, shouldn't it?
>
> Yes it should, it's
On Fri, 9 Jun 2006 10:59:13 +0200, Dirk Heinrichs wrote:
> > That's because you are trying to mount the whole device, not the
> > partition.
>
> Even the whole device should be a block device, shouldn't it?
Yes it should, it's podd that is appears as a character device.
> And if it
> had a file
Am Freitag, 9. Juni 2006 10:35 schrieb ext Neil Bothwick:
> That's because you are trying to mount the whole device, not the
> partition.
Even the whole device should be a block device, shouldn't it? And if it had
a filesystem, you could even mount it, having one partition is as good as
having
On Fri, 9 Jun 2006 01:12:50 -0700, Daevid Vincent wrote:
> I've been googling and hacking at this for about three hours now.
>
> Can someone tell me what I am doing wrong?
>
> locutus mnt # cat /etc/udev/rules.d/local.rules
> # This is for my Intelligent Stick USB Memory flash drive
> BUS=="usb
Am Freitag, 9. Juni 2006 10:12 schrieb ext Daevid Vincent:
> Can someone tell me what I am doing wrong?
>
> locutus mnt # cat /etc/udev/rules.d/local.rules
> # This is for my Intelligent Stick USB Memory flash drive
> BUS=="usb", SYSFS{serial}=="20031112223132-01", NAME="istick",
> MODE="0666"
BU
12 matches
Mail list logo