Gentoo Archives: gentoo-user

From: the <the.guard@××××.ru>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB disk automatically mounting: how does it work
Date: Sun, 06 Oct 2013 16:46:19
Message-Id: 525193D2.3030406@mail.ru
In Reply to: [gentoo-user] USB disk automatically mounting: how does it work by Chris Stankevitz
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 10/06/13 20:12, Chris Stankevitz wrote:
5 > Hello,
6 >
7 > Would you please explain (or refer me to a place that explains)
8 > the mechanism by which an USB drive appears on my desktop? I'm
9 > looking for a level of detail like this:
10 >
11 > When you insert a USB device, the kernel sends out a notification
12 > A. Userland daemons such as B can catch this signal. A file
13 > B.conf describes what to do in response to a certain class of USB
14 > devices and in there you will see a section for disk drives that
15 > says mount them at location C. Then B sends out a notification D
16 > which window managers can catch if they want. GNOME and others
17 > catch D and in response put an icon on the desktop. The reason
18 > lowly users can mount and write to these devices is E.
19 >
20 > PS: These topics are a blur in my mind: udev hotplug coldplug
21 > session pam. I suspect these words are used to fill in some of the
22 > variables in my pseudo-description above.
23
24 Udev rules?
25
26 -----BEGIN PGP SIGNATURE-----
27 Version: GnuPG v2.0.20 (GNU/Linux)
28 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
29
30 iQEcBAEBAgAGBQJSUZPQAAoJEK64IL1uI2haKgEH/1xPKsjgKzyv/cMcl3Bs/5Kk
31 hR60VCc7VSeVLgIJf2+MgnVniQ3M4XqxbymBBqqntZ/OyXIzxIH7ELS7djnVcCau
32 RSGZLe+xueoxFAWmzOS4FLXpCPXfC27PIIXqGpP8LNI57bBoxGaW4K+M8Ge1LuSn
33 lbRv1AbGXbtwYFVGXsYjMFymworTvp2wPcVMfAaBX1w4WcbmmiqXJgOiUx7O7nEs
34 MZA2dT4FG86QL3eFm5kcVW9LPl7QH2mE4rUM9oQLobZTI9pCDuXMFvoq6PXc4SI3
35 pBUQlUHzcPzoIThlHPyZmcAm80m+PVWenP1NgvsH8eLijklVe6yxn2h7fm+/3FU=
36 =QSz0
37 -----END PGP SIGNATURE-----