Ralf (or others ;), i’m still seeking feedback on that…
Sorry Marco, not sure I understand your question:
filemanager/cli.php gives a usage, if called without parameters.
It only writes a mount-table used by EGroupware. It does nothing on it’s
own as far as (u)mount command is concerned.
Examples of how a mount command look like depend a bit on used / mounted
stream-wrapper and it’s supported parameters.
Here are examples for filesystem stream-wrapper:
http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/inc/class.filesystem_stream_wrapper.inc.php?view=markup
Documentation about PHP stream-wrapper:
http://php.net/manual/en/class.streamwrapper.php
or our interface:
http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/inc/class.iface_stream_wrapper.inc.php?view=markup
We use a couple of non-standard extensions / extra methods, you can find
in source of our vfs stream-wrapper (that’s the one reading mount-table
manipulated via filemanager/cli.php (u)mount command):
http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/inc/class.vfs_stream_wrapper.inc.php?view=markup
Look at the methods touch, chown, chgrp, chmod, readlink, symlink,
mime_content_type.
Thought they are all optional and our smb stream-wrapper supports none
of the above.
Our wiki has some general information about EGroupware VFS:
http://wiki.egroupware.org/wiki/VFSSystem
Ralf
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany