l4vfs::extendable Interface Reference

Interface to connect and disconnect name spaces. More...

import "extendable.idl";

Inheritance diagram for l4vfs::extendable:

l4vfs::name_server

List of all members.

Public Member Functions

int attach_namespace ([in] volume_id_t volume_id,[in, string] char *mounted_dir,[in, string] char *mount_dir)
 mount some dir of a volume to some other point in the namespace
int detach_namespace ([in, string] char *mount_dir)
 unmount some dir from the namespace


Detailed Description

Interface to connect and disconnect name spaces.

Member Function Documentation

int l4vfs::extendable::attach_namespace ( [in] volume_id_t  volume_id,
[in, string] char *  mounted_dir,
[in, string] char *  mount_dir 
)

mount some dir of a volume to some other point in the namespace

Parameters:
volume_id id of the volume to attach
mounted_dir is an absolute path with its root at the volume's root
mount_dir is an absolute path with its root at the name-space's root
Returns:
0 on success, errorcode otherwise
  • L4VFS_ENOT_ABS_PATH if a non-absolute path was encountered
  • L4VFS_ERESOLVE if a path could not be resolved
  • L4VFS_EVOL_NOT_REG requested volume was not registered
  • EBUSY other error like duplicate mounting, any of the paths is a mount point or a mounted point already
  • ENOMEM propably mount table is full

int l4vfs::extendable::detach_namespace ( [in, string] char *  mount_dir  ) 

unmount some dir from the namespace

Parameters:
mount_dir is an absolute path in the name_server's name space, should point to a mount point
Returns:
0 on succes, otherwise
  • errorcode


The documentation for this interface was generated from the following file:

Generated on Wed Apr 11 06:39:33 2012 for L4 Virtual File System by  doxygen 1.5.6