diff options
author | David Zeuthen <david@fubar.dk> | 2005-02-10 17:03:57 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2005-02-10 17:03:57 +0000 |
commit | ca9bd7722a79ca8e4e246fb4416edec111a88971 (patch) | |
tree | 9e0cfcefe423035b9c59f9f58340136a0beddab6 /hald/run-hald.sh | |
parent | 0b53748535b23d5a43b110bb8ab05945f3f338f6 (diff) |
Must have been a typo by Kay, changed from VOLUME_ID_DISKLABEL to
VOLUME_ID_FILESYSTEM.
Remember to init the DBusError since some operations may fail. (main): Look
at $HALD_ACTION for add, remove instead of first positional parameter
$1.
New file
New file
New files (imported from hal-0.4.x)
Add rules for hald-probe-storage and hald-probe-volume
New file
Add rules for hald-addon-storage
New function (sigio_iochn_data): New function (osspec_init): Set up signal
handler for SIGIO and the neccesary pipes to handle it safely. Set up
directory watcher for /etc and invoke blockdev_mtab_changed whenever
that happens
Call blockdev_* if appropriate
Add some new prototype for interacting with hotplug.c (much like what
physdev.h and classdev.h) exported. Also add the prototype for a new
function blockdev_mtab_changed.
Actually put some code here (the previous code was just boiler plate).
Add boolean already_issued_ callback
Truncate whitespace from string read (hal_util_terminate_helper): Don't
remove the child watcher source, but set a flag that we already did the
callback and helper_child_exited will reap the child (including
removing sources). This helps reap the zombies I've been seeing.
(helper_child_timeout): -do- (helper_child_exited): Only do callback if
we haven't already done so.
Another nice script for running gdb on hald; just run this script and
invoke the run command from the gdb console.
Also export ../tools so we can get fstab-sync going. Set HAL_FDI_SOURCE
Respect the env var HAL_FDI_SOURCE which is useful for development as hald
will read you local .fdi files
Temporarily add fstab-sync add/rem callouts (mental note: move to other
file soon); also add the media detection addon
New file
Add power-mgmt-policy.fdi
Diffstat (limited to 'hald/run-hald.sh')
-rwxr-xr-x | hald/run-hald.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hald/run-hald.sh b/hald/run-hald.sh index 4075e320..51b5954e 100755 --- a/hald/run-hald.sh +++ b/hald/run-hald.sh @@ -1,5 +1,6 @@ #!/bin/sh -export PATH=linux2:linux2/probing:linux2/addons:.:$PATH +export PATH=linux2:linux2/probing:linux2/addons:.:../tools:$PATH +export HAL_FDI_SOURCE=../fdi ./hald --daemon=no --verbose=yes --retain-privileges |