NetBSD/share/examples/puffs/pgfs
..
Makefile
README
check.sql
fix.sql
mount.c
newfs.sql
pgfs.h
pgfs_db.c
pgfs_db.h
pgfs_debug.c
pgfs_debug.h
pgfs_puffs.c
pgfs_subs.c
pgfs_subs.h
pgfs_waitq.c
pgfs_waitq.h

README

$NetBSD: README,v 1.1 2011/10/12 01:05:00 yamt Exp $

pgfs - a puffs file system server backed by a PostgreSQL database

install:
	install postgresql (tested with 9.2devel)
	# make
	# make install

newfs:
	# createdb hoge
	# psql -f newfs.sql hoge

mount:
	# mount_pgfs -o dbname=hoge,dbuser=takashi,nconn=16 a /mnt