[Samba] Using smbmount in a script - no return value
Mathew D. Watson
matw at eclipse-optics.com
Sat Dec 17 17:53:14 GMT 2005
I'm trying to periodically mount an XP share on my linux box, and I've
noticed that smbmount doesn't return a value so I can't test for success
in my shell script:
smbmount //NonsenseShare /bad/mnt/point || echo "error with smbmount"
In this case smbmount silently fails.
I searched the archives and found a couple of messages about smbmount
demonizing before leaving a return value. Is there a good way to test
for the success or failure of smbmount?
More information about the samba