28.08.2015 Views

The Design and Implementation of the Anykernel and Rump Kernels

1F3KDce

1F3KDce

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A–38<br />

UKFS(3) NetBSD Library Functions Manual UKFS(3)<br />

NAME<br />

ukfs -- user kernel file system library interface<br />

LIBRARY<br />

ukfs Library (libukfs, -lukfs)<br />

SYNOPSIS<br />

#include <br />

DESCRIPTION<br />

<strong>The</strong> ukfs library provides direct access to file systems without having to<br />

specially mount a file system. <strong>The</strong>refore, accessing a file system<br />

through ukfs requires no special kernel support apart from st<strong>and</strong>ard POSIX<br />

functionality. As ukfs is built upon rump(3), all kernel file systems<br />

which are supported by rump are available. It allows to write utilities<br />

for accessing file systems without having to duplicate file system internals<br />

knowledge already present in kernel file system drivers.<br />

ukfs provides a high-level pathname based interface for accessing file<br />

systems. If a lower level interface it desired, rump(3) should be used<br />

directly. However, much like system calls, <strong>the</strong> interfaces <strong>of</strong> ukfs, are<br />

self-contained <strong>and</strong> require no tracking <strong>and</strong> release <strong>of</strong> resources. <strong>The</strong><br />

only exception is <strong>the</strong> file system h<strong>and</strong>le struct ukfs which should be<br />

released after use.<br />

INITIALIZATION<br />

int<br />

ukfs_init()<br />

int<br />

ukfs_modload(const char *fname)<br />

NetBSD 5.99.48 November 22, 2009 NetBSD 5.99.48

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

Saved successfully!

Ooh no, something went wrong!