12.07.2015 Views

1lfCtJ9

1lfCtJ9

1lfCtJ9

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A–20RUMP_ETFS(3) NetBSD Library Functions Manual RUMP_ETFS(3)NAMErump_etfs -- rump host file system interfaceLIBRARYrump kernel (librump, -lrump)SYNOPSIS#include intrump_pub_etfs_register(const char *key, const char *hostpath,enum rump_etfs_type ftype);intrump_pub_etfs_register_withsize(const char *key, const char *hostpath,enum rump_etfs_type ftype, uint64_t begin, uint64_t size);intrump_pub_etfs_remove(const char *key);DESCRIPTIONThe rump ExtraTerrestrial File System (rump_etfs) is used to provideaccess to the host file system namespace within a rump kernel.The operation is based on registered key values which each map to ahostpath. A key must be an absolute path (i.e. begin with ‘‘/’’). Multipleleading slashes are collapsed to one (i.e. ‘‘/key’’ is the same as‘‘//key’’). The rest of the path, including slashes, is compared verbatim(i.e. ‘‘/key/path’’ does not match ‘‘/key//path’’).The hostpath is interpreted in host system context for the current work-NetBSD 5.99.48 February 3, 2011 NetBSD 5.99.48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!