public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] help with UDEV and USB flash drive
@ 2006-06-09  8:12 Daevid Vincent
  2006-06-09  8:33 ` Dirk Heinrichs
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Daevid Vincent @ 2006-06-09  8:12 UTC (permalink / raw
  To: gentoo-user

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", SYSFS{serial}=="20031112223132-01", NAME="istick", MODE="0666"

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

locutus linux # mount /dev/istick
mount: /dev/istick is not a block device

But after a long night, I tried this and was shocked to see it works:

locutus linux # ll /dev/sda1
brw-rw---- 1 root disk 8, 1 Jun  9 00:32 /dev/sda1

locutus linux # mount -t vfat /dev/sda1 /mnt/istick/
locutus linux # ls /mnt/istick/
MIDI Files  pwsafe.key

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
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: [gentoo-user] help with UDEV and USB flash drive
@ 2006-06-09 20:39 neil
  0 siblings, 0 replies; 13+ messages in thread
From: neil @ 2006-06-09 20:39 UTC (permalink / raw
  To: gentoo-user


-----Original Message-----

From:  "Daevid Vincent" <daevid@daevid.com>
Subj:  RE: [gentoo-user] help with UDEV and USB flash drive
Date:  Fri 9 Jun 2006 20:32
Size:  848 bytes
To:  <gentoo-user@lists.gentoo.org>


Now the second part of this. SOMETIMES, when I plug the stick in (I assume
that's when it happens), KDE gives me a nice little window to view the files
or take no action. But it's not consistent?! What triggers that 'event', and
how can I make it happen all the time?

KDE uses HAL for this, but it can take a few seconds to see the device. You don't need an fstab entry for this, it may even confuse things.

Also related, is there an easy way to make this stick auto un/mount upon
removal/insertion respectively?

KDE will do that, and open a window too if you want it. It is set in the Control Centre.




-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-06-09 23:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09  8:12 [gentoo-user] help with UDEV and USB flash drive Daevid Vincent
2006-06-09  8:33 ` Dirk Heinrichs
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

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