public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dirk Heinrichs <ext-dirk.heinrichs@nokia.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] help with UDEV and USB flash drive
Date: Fri, 9 Jun 2006 10:33:06 +0200	[thread overview]
Message-ID: <200606091033.12953.ext-dirk.heinrichs@nokia.com> (raw)
In-Reply-To: <200606090112.51693.daevid@daevid.com>

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

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"

BUS=="scsi" and I would also use SYMLINK="istick%n" instead of NAME. I'd 
also guess that the SYSFS{serial} is not the one of the stick, but four 
your USB hub.

> locutus linux # cat /etc/fstab
> # Intelligent Stick flash drive (UDEV)
> /dev/istick  /mnt/istick  vfat defaults,noauto,user,umask=000  0 0
>
> locutus linux # ll /dev/istick
> crw-rw-rw- 1 root root 21, 1 Jun  9 00:32 /dev/istick

This is a character device.

> So, why doesn't my /dev/istick work?
> I assume it has to do with that 'b' on /dev/sda1 and the 'c' on
> /dev/istick

Yes.

You should also read http://www.reactivated.net/writing_udev_rules.html.

HTH...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

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

  reply	other threads:[~2006-06-09  8:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09  8:12 [gentoo-user] help with UDEV and USB flash drive Daevid Vincent
2006-06-09  8:33 ` Dirk Heinrichs [this message]
2006-06-09  8:35 ` Neil Bothwick
2006-06-09  8:59   ` Dirk Heinrichs
2006-06-09 10:16     ` Neil Bothwick
2006-06-09 11:15       ` Dirk Heinrichs
2006-06-09 19:21   ` Daevid Vincent
2006-06-09 19:30     ` znx
2006-06-09 19:50     ` Richard Fish
2006-06-09 20:54       ` Daniel Drake
2006-06-09 23:49         ` Richard Fish
2006-06-09 11:45 ` Dirk Heinrichs
  -- strict thread matches above, loose matches on Subject: below --
2006-06-09 20:39 neil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200606091033.12953.ext-dirk.heinrichs@nokia.com \
    --to=ext-dirk.heinrichs@nokia.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox