490e0de548
Import libpuffs and our port of libpuffs. The port was done as part of GSoC 2011 FUSE project, done by Evgeniy Ivanov. The librefuse import did not require any porting efforts. Libpuffs has been modified to understand our VFS-FS protocol and translate between that and PUFFS. As an example that it works, fuse-ntfs-3g from pkgsrc can be compiled and used to mount ntfs partitions: mount -t ntfs-3g <device> <mountpoint> FUSE only works with the asynchronous version of VFS. See <docs/UPDATING> on how to run AVFS. This patch further includes some changes to mount(1) and mount(2) so it's possible to use file systems provided by pkgsrc (note: manual modifications to /etc/system.conf are still needed. There has been made an exception for fuse-ntfs-3g, so it already as an entry).
31 lines
864 B
C
31 lines
864 B
C
/* This is the master header for fs. It includes some other files
|
|
* and defines the principal constants.
|
|
*/
|
|
|
|
#ifndef LIBPUFFS_FS_H
|
|
#define LIBPUFFS_FS_H
|
|
|
|
#define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
|
|
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
|
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
|
|
|
#define VERBOSE 0 /* show messages during initialization? */
|
|
|
|
/* The following are so basic, all the *.c files get them automatically. */
|
|
#include <minix/config.h> /* MUST be first */
|
|
#include <minix/ansi.h> /* MUST be second */
|
|
#include <sys/types.h>
|
|
#include <minix/const.h>
|
|
#include <minix/type.h>
|
|
#include <minix/dmap.h>
|
|
|
|
#include <limits.h>
|
|
#include <errno.h>
|
|
|
|
#include <minix/syslib.h>
|
|
#include <minix/sysutil.h>
|
|
|
|
#include "proto.h"
|
|
#include "glo.h"
|
|
|
|
#endif /* LIBPUFFS_FS_H */
|