Pardon me for asking but what is the correct way to access system functions
such as mount, df, format, umount and ls from a web panel
with error handling

example cut from reboot

      esmith::util::backgroundCommand (8, "/sbin/e-smith/signal-event",
  "reboot");

Example from backup

 system("/sbin/e-smith/signal-event", "conf-backup") == 0
     or die("Error occured during conf-backup event.\n");

this fails to work ( with/out -t )

    system("mount /mnt/floppy" ) == 0
 or die ("Error occurred while mounting floppy.\n");

I suspect that the answer may be easy, but time to ask for help
(also find if there is a better way )

Regards
Stewart Evans
Lygon IT

> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org
>


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to