Hi all,
I want to use the mount system call in my application to mount NFS and
CIFS filesystems.
What are the arguments of
mount (const char* /spec/, const char* /dir/, int /flags/, const char*
/type/, const void* data, /int /datalen )
in these cases ?
I guess that ‘spec’ is NULL, ‘dir’ is the mounting point, type is “nfs”
or “cifs” but what I need to put in flags and data ?
How can I known the mounted filesystems by program ?
I can’t find anything related to these topics in documentation.
Best regards.
Pierre