4cccedc203
based on top of libpuffs. This version is still barebones and incomplete, but will benefit from others working on it, rather than just me. The option code has still to be implemented, but this gets far enough to run hellofs (from the fuse web page): % priv ./hellofs ~/hellofs/mnt & % l ~/hellofs/mnt total 2 drwxr-xr-x 2 root wheel 0 Jan 1 1970 . drwxr-xr-x 4 agc agc 512 Feb 9 18:05 .. -r--r--r-- 1 root wheel 13 Jan 1 1970 hello % cat ~/hellofs/mnt/hello Hello World! % df ~/hellofs/mnt Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/dk0 28101396 18946682 7749646 70% / kernfs 1 1 0 100% /kern procfs 4 4 0 100% /proc ptyfs 1 1 0 100% /dev/pts puffs:refuse:hellofs 28101396 18946682 7749646 70% /home/agc/hellofs/mnt % mount -v -v ... mount: mount_puffs not found for /home/agc/hellofs/mnt puffs:refuse:hellofs on /home/agc/hellofs/mnt type puffs (nosuid, nodev, fsid: 0xcb01/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0) % This code is not enabled by default. Yet.
13 lines
218 B
Makefile
13 lines
218 B
Makefile
# $NetBSD: Makefile,v 1.1 2007/02/11 10:31:37 agc Exp $
|
|
|
|
LIB= refuse
|
|
SRCS= refuse.c
|
|
CPPFLAGS+= -I.
|
|
LDADD+= -lpuffs
|
|
MAN= refuse.3
|
|
WARNS= 4
|
|
INCS= fuse.h
|
|
INCSDIR= /usr/include
|
|
|
|
.include <bsd.lib.mk>
|