FUJITA Tomonori wrote: > On Tue, 01 Apr 2008 17:31:05 +0300 > Doron Shoham <[EMAIL PROTECTED]> wrote: > >> Checking if the tgtd daemon is running should be >> done with pidof >> >> Signed-off-by: Doron Shoham <[EMAIL PROTECTED]> >> --- >> scripts/tgt-setup-lun | 13 ++++++++----- >> 1 files changed, 8 insertions(+), 5 deletions(-) > > Thanks, looks nice. > > But the old script checks there are two tgtd daemons running. The new > one doesn't. Can you improve the new one to do that?
Why tgtd has two daemons (process)? When running tgtd with -f flag it has only one process, why is it? So if I'll check for two process the script will exit. > > Note that one of the two tgtd daemons could die due to a bug. When does it happen? Thanks, Doron _______________________________________________ Stgt-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/stgt-devel
