[opensuse] Documentation on Hotplugging in 10.3, usb-drives
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ~ Hi, I'm desperately searching for information/documentation on how the hotplugging works and is configured in OpenSuSE 10.3 The origin of my quest was, that I wanted to change the default mount options for vfat-partitions on external USB-drives (shortname=lowercase => shortname=mixed). However, all I found was a sdb-article for 9.x and the files in /etc/sysconfig/hotplug mentioned there are no longer existing. Well hotplugging works like a charm, but neither goggle, nor "find /. -iname '*hotplug*' , nor "grep -R lowercase /etc/* " brought any results which explain how. I invested several hours already searching for hints on the system and in the web !!! Where is this configuration hidden and how does it work in current OpenSUSE systems ??? Any help is appreciated, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIPpqV1U99OhJsXHcRAuwtAKCzQdvFlEoZlSjXFRUg5AbNRr38SwCgva4R V1mrM1vOylc0gJZgiHvWv/U= =DxfO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, May 29, 2008 at 4:59 AM, Dr. Thomas Bruns <th.bruns@freenet.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
~ Hi,
I'm desperately searching for information/documentation on how the hotplugging works and is configured in OpenSuSE 10.3
The origin of my quest was, that I wanted to change the default mount options for vfat-partitions on external USB-drives (shortname=lowercase => shortname=mixed). However, all I found was a sdb-article for 9.x and the files in /etc/sysconfig/hotplug mentioned there are no longer existing.
Well hotplugging works like a charm, but neither goggle, nor "find /. -iname '*hotplug*' , nor "grep -R lowercase /etc/* " brought any results which explain how.
I invested several hours already searching for hints on the system and in the web !!!
Where is this configuration hidden and how does it work in current OpenSUSE systems ???
Any help is appreciated,
Thomas
I'd love to find this documentation as well. This whole mounting of devices is one of the deepest mysteries in Linux, and it seems like a moving target. Coders always seem to be the worst documentors, but someone should sit the developer down and pick his brain, and put it in the wiki or something. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I have been researching this, I have most of it figured out, parts are still sketchy, but here is what I have uncovered /figured out so far; Currently, in SUSE version 10.3, it works like this: When you boot the system, a few deamons start. The Kernel (obviously not a deamon, but it is involved) Dbus - I don't know what dbus stands for. Udevd - the udev deamon Hald - the hardware abstraction layer In KDE you have two more deamons running A system notification deamon And a device management deamon So far those are the programs involved. After the system is up and running: The kernel is doing it's thing in the background. A user plugs in a device. The kernel or hald (I am not sure who starts this process) identifies the device has been plugged into the computer. Hald examines the device and reports the properties it has identified for the device to the kernel. Hald also maintains the device information database used by the kernel (http://webcvs.freedesktop.org/hal/hal/doc/spec/hal-spec.html) Hald communicates it's finding via dbus to the kernel, and to udev. Udev is responsible for creating the device nodes located in "/dev" And recently, it is also responsible for module loading. (see man udev, http://www.reactivated.net/writing_udev_rules.html, the readme in /etc/sysconfig/hardware/README.hwcfg_and_device_initialization and a nice little tutorial on connecting device with udev, www.linux.format.co.uk lfx66 May 2005) udev get information about the device from the kernel, and then based on it's rules, udev creates a device node. At this point udev is done and you have a device node that can be mounted. At the console (or command line) you have to manually mount the device. I think it is possible to write a script and have udev run the script to mount the device, but I haven't tried it yet. In kde the actual mounting is handled by two deamons. (configure desktop > kde Components > Service Manager > Startup Services) KDED Media Manager and Media Notifier deamon. These two work together to mount and display devices. In gnome, there is the gnome_volume_manager that handles the mounting of devices. I hope this helps. I won't swear that everything is accurate; I am still trying to figure it all out myself. If anyone else is reading this and you have more information, or more correct information please jump in and correct me. Personally, I am trying to figure out how to change the default mounting from r/w to readonly in KDE. I haven't figured it out yet. :-) Best of luck Scott Pancoast -----Original Message----- From: John Andersen [mailto:jsamyth@gmail.com] Sent: Thursday, May 29, 2008 5:11 PM Cc: opensuse@opensuse.org Subject: Re: [opensuse] Documentation on Hotplugging in 10.3, usb-drives On Thu, May 29, 2008 at 4:59 AM, Dr. Thomas Bruns <th.bruns@freenet.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
~ Hi,
I'm desperately searching for information/documentation on how the hotplugging works and is configured in OpenSuSE 10.3
The origin of my quest was, that I wanted to change the default mount options for vfat-partitions on external USB-drives (shortname=lowercase => shortname=mixed). However, all I found was a sdb-article for 9.x and the files in /etc/sysconfig/hotplug mentioned there are no longer existing.
Well hotplugging works like a charm, but neither goggle, nor "find /. -iname '*hotplug*' , nor "grep -R lowercase /etc/* " brought any results which explain how.
I invested several hours already searching for hints on the system and in the web !!!
Where is this configuration hidden and how does it work in current OpenSUSE systems ???
Any help is appreciated,
Thomas
I'd love to find this documentation as well. This whole mounting of devices is one of the deepest mysteries in Linux, and it seems like a moving target. Coders always seem to be the worst documentors, but someone should sit the developer down and pick his brain, and put it in the wiki or something. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-05-29 at 13:59 +0200, Dr. Thomas Bruns wrote:
Well hotplugging works like a charm, but neither goggle, nor "find /. -iname '*hotplug*' , nor "grep -R lowercase /etc/* " brought any results which explain how.
I invested several hours already searching for hints on the system and in the web !!!
Where is this configuration hidden and how does it work in current OpenSUSE systems ???
Someone wrote an email explaining how it works, recently. Search the archive. Subject: [opensuse] Re: how does udev and automatically mounting a device in SuSE 10.3 work. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIP80RtTMYHG2NR9URAqzlAJ9Z1qJfG2D9QUnQuIriRzchgkQQYQCfVuQj KWHYFZdpL/AqgUyO8KSMOmQ= =E8jD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Someone wrote an email explaining how it works, recently. Search the archive.
Subject: [opensuse] Re: how does udev and automatically mounting a device in SuSE 10.3 work.
Thats hardly an acceptable source of documentation for a system component so critical to everyday use. Is there any reason to believe a email is even authoritative? -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Andersen <jsamyth@gmail.com> [05-30-08 14:51]:
Someone wrote an email explaining how it works, recently. Search the archive.
Subject: [opensuse] Re: how does udev and automatically mounting a device in SuSE 10.3 work.
Thats hardly an acceptable source of documentation for a system component so critical to everyday use. Is there any reason to believe a email is even authoritative?
As much so as a wiki. What do you think most of the *user* contributed documentation consists? -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, May 30, 2008 at 1:21 PM, Patrick Shanahan <paka@opensuse.org> wrote:
* John Andersen <jsamyth@gmail.com> [05-30-08 14:51]:
Someone wrote an email explaining how it works, recently. Search the archive.
Subject: [opensuse] Re: how does udev and automatically mounting a device in SuSE 10.3 work.
Thats hardly an acceptable source of documentation for a system component so critical to everyday use. Is there any reason to believe a email is even authoritative?
As much so as a wiki. What do you think most of the *user* contributed documentation consists?
A wiki can be corrected. An email is just "out there". Where is the official docs written by the developers? -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-05-30 at 13:56 -0700, John Andersen wrote:
As much so as a wiki. What do you think most of the *user* contributed documentation consists?
A wiki can be corrected. An email is just "out there".
A wiki can be perverted. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIQHmXtTMYHG2NR9URAnXOAJ0VV8onWQWJxsbc4k9S+nJvWK/mTwCfZH/a 7DP+sB3Vnd63B3t6P9DcVl0= =M9nC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, May 30, 2008 at 3:03 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-05-30 at 13:56 -0700, John Andersen wrote:
As much so as a wiki. What do you think most of the *user* contributed documentation consists?
A wiki can be corrected. An email is just "out there".
A wiki can be perverted.
And when there is anything controversial in the wiki it is SURE to be perverted. But Automounting devices hardly seems like a political or social lightening rod. A man page would be the expected norm. No? -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, May 30, 2008 at 6:16 PM, John Andersen <jsamyth@gmail.com> wrote:
On Fri, May 30, 2008 at 3:03 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-05-30 at 13:56 -0700, John Andersen wrote:
As much so as a wiki. What do you think most of the *user* contributed documentation consists?
A wiki can be corrected. An email is just "out there".
A wiki can be perverted.
And when there is anything controversial in the wiki it is SURE to be perverted. But Automounting devices hardly seems like a political or social lightening rod.
Unfortunately lots of wiki's get perverted, not just controversial ones. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, May 30, 2008 at 6:16 PM, John Andersen <jsamyth@gmail.com> wrote:
On Fri, May 30, 2008 at 3:03 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-05-30 at 13:56 -0700, John Andersen wrote:
As much so as a wiki. What do you think most of the *user* contributed documentation consists?
A wiki can be corrected. An email is just "out there".
A wiki can be perverted.
And when there is anything controversial in the wiki it is SURE to be perverted. But Automounting devices hardly seems like a political or social lightening rod.
A man page would be the expected norm. No?
Actually I don't know. If the info is distro neutral then that is one possibility. If it is suse specific, then the suse way seems to be a documentation file squirreled away on /usr. I'm not on a suse box right now, but I think it is /usr/lib/packages/*/readme.suse In this case I don't even know which package is in charge of automounting USB drives, so I would not know which package to look in for a suse specific readme. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-05-30 at 15:16 -0700, John Andersen wrote:
A wiki can be corrected. An email is just "out there".
A wiki can be perverted.
And when there is anything controversial in the wiki it is SURE to be perverted. But Automounting devices hardly seems like a political or social lightening rod.
Nevertheless, I know of at least one that was. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIQY07tTMYHG2NR9URAq1BAJsGW6H85bzPMPmr2vgefMUW8RlC2gCcCUhX 2zIiGv8v81nveVxkmBOU+wM= =yi/0 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-05-30 at 11:49 -0700, John Andersen wrote:
Someone wrote an email explaining how it works, recently. Search the archive.
Subject: [opensuse] Re: how does udev and automatically mounting a device in SuSE 10.3 work.
Thats hardly an acceptable source of documentation for a system component so critical to everyday use. Is there any reason to believe a email is even authoritative?
And where do you see I claimed such a thing? I simply tried to help pointing to a chain of messages where the subject came up and some useful info came up. You go find some better instead. As to mails... sometimes indeed it is in emails where developers discuss and document what they do. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIQHk8tTMYHG2NR9URAufQAJ9kzWmG8I43/ccpEiLhRMbvG0ghEwCcC+Pi VO0Vtn0rub9GKNEpXwcrW3I= =S/s/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, May 30, 2008 at 3:01 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
You go find some better instead.
I wouldn't be posting on this thread if I could find ANY of this documented anywhere. The original point of the thread was a request for the official source of documentation on how this work. That documentation is missing. No admittedly I've only been writing software for 30 years, so I don't know a great deal about it, but In every job I've had, documentation was AT LEAST as important as the code itself. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-05-30 at 15:13 -0700, John Andersen wrote:
On Fri, May 30, 2008 at 3:01 PM, Carlos E. R. <> wrote:
You go find some better instead.
I wouldn't be posting on this thread if I could find ANY of this documented anywhere.
The original point of the thread was a request for the official source of documentation on how this work. That documentation is missing.
I know that it is missing, although I admit I haven't read the suse admin manual lately. I simply pointed the OP in the direction where he could find some docs. Or you might open a bugzilla requesting such a doc. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIQY7MtTMYHG2NR9URAv+bAKCCycXBACO7+0F9W0rgv67+1VjlxgCeNsTu Ktv7M2LIgpNIuSAGsXPyvYw= =gRrO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
Dr. Thomas Bruns
-
Greg Freemyer
-
John Andersen
-
Patrick Shanahan
-
Scott Pancoast