Gentoo Archives: gentoo-user

From: daid kahl <daidxor@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Double nautilus windows for each USB flash drive plugged in
Date: Mon, 05 Oct 2009 22:52:13
Message-Id: 3ac129340910051552m337fe59ey5440ae0553deeb16@mail.gmail.com
In Reply to: Re: [gentoo-user] Double nautilus windows for each USB flash drive plugged in by Stroller
1 > I simply can't make any sense of them.
2 > Your mailer also used HTML.
3 > If you wish to make postings of this kind then I would be grateful if
4 > you could place me on your ignore list, and not make such replies to my
5 > messages.
6
7 Sorry. This should be regular text now.
8
9 >> How do you find the serial, please? I'm guessing from `dmesg`?
10
11 Just a re-post on how to find the serial on a usb drive, where the USB
12 device in question is at node /dev/sdb :
13
14 # udevadm info -a -p $(udevadm info -q path -n /dev/sdb) | grep ATTRS{serial}
15
16 You might get more than one return on this command. Us the first
17 serial, and it is also the one without colons or periods, just numbers
18 and letters.
19
20 Then for the udev rule you just need to include ATTRS{serial}==" 0000000000"
21
22 Regards,
23 daid

Replies

Subject Author
Re: [gentoo-user] Double nautilus windows for each USB flash drive plugged in Stroller <stroller@××××××××××××××××××.uk>