murasaki.ieee1394
Last modified: Mon Sep 29 22:54:47 PDT 2003

"murasaki.ieee1394" is an Agent program which hotplug.murasaki calls when IEEE1394 device event happens.

[Order of call]

Kernel(IEEE1394 event happens)
|
|
hotplug.murasaki
|
|
murasaki.ieee1394

[Steps of execution]

looking for the adapted module in ieee1394map(1,2)
|
|
expanding the depended modules and aliases(3,4)
|
|
executing the scripts using precall file(5,6)
|
|
loading/unloading the adapted modules(7)
|
|
executing the scripts using call file(8,9)

  1. According to infomations by hotplug.murasaki from Kernel, murasaki.ieee1394 picks up adapted modules from murasaki.ieee1394map.
    case "add"
    The modules which is included in "murasaki.blacklist" is ignored.
    case "remove"
    The modules which is included in "murasaki.stickylist" is ignored.
  2. It picks up the adapted modules from modules.ieee1394map like above.
    case "add"
    The modules which is included in "murasaki.blacklist" is ignored.
    case "remove"
    The modules which is included in "murasaki.stickylist" is ignored.
  3. It figures out other modules which depend on the found modules in mursaki.depend.
  4. It expands aliases into module names when they exist.
    case "add"
    The modules which is included in "murasaki.blacklist" is ignored again.
    case "remove"
    The modules which is included in "murasaki.stickylist" is ignored again.
    (The list of all modules is built now)
  5. It finds out the scripts for modules in "murasaki.precall" and runs them.
  6. It runs the script which is specified as "[ieee1394]" in "murasaki.precall".
  7. It loads or unloads the modules.
  8. It finds out the scripts for modules in "murasaki.call" and runs them.
  9. It runs the script which is specified as "[ieee1394]" in "murasaki.call".
    (No script now)

[Relationship]


Back Go DotAster
Shuu Yamaguchi : shuu@dotAster.com