There doesn't appear to be a "force" option to the `cifs shares -delete` command, that is available via an rsh:
# rsh bat-toaster cifs shares -delete R12 The share R12 cannot be deleted; users are currently using it.
However, if I do this on the console, it prompts me:
bat> cifs shares -delete R12 Users have open files on R12. Continuing the operation will force the files closed. Do you want to continue this operation? [no]: yes
and the share can be forcibly deleted.
I need to be able to do this programmatically via an rsh command; the man pages for cifs_shares show no such option (forcegroup doesn't seem appropriate).
Help!
toaster info:
R12 /vol/vol0/devel/R12 everyone / Full Control
Files are open with both Exec-denyW and Read-denyN.
NetApp Release 5.2.1: Thu Dec 31 12:56:45 PST 1998
Until next time...
Todd C. Merrill The Mathworks, Inc. 508-647-7792 24 Prime Park Way, Natick, MA 01760-1500 508-647-7012 FAX tmerrill@mathworks.com http://www.mathworks.com ---