Apr 03, 2015; 14:53
Anibal Escobar
diskutil through os_process
Hi, I'm on Lasso 8 on OSX. I'd like to get lasso to unmount and mount a drive on the machine serving lasso. In the shell, I can simply type:
diskutil unmountDisk force /dev/diskID
diskutil mountDisk /dev/diskID
if I do:
var('os' = OS_Process('/bin/bash', array('-c', 'myremountscript')));
where myremountscript contains the diskutil commands, I get the following error:
diskutil: command not found
from os_process. I've also tried:
var('os' = OS_Process('/usr/sbin/diskutil', array('unmountDisk', 'force', '/dev/diskID')));
etc.
but the page hangs up trying to execute this. Any suggestions of what I might try?
Thanks,
Anibal Escobar
646 502 8821
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Apr 04, 2015; 10:59
Wade Maxfield
Re: diskutil through os_process