NetBSD/share/examples/puffs/pgfs
tnn 5569b39ef7 fix build of puffs examples; need _KERNTYPES for register_t 2016-08-26 22:12:22 +00:00
..
Makefile fix build of puffs examples; need _KERNTYPES for register_t 2016-08-26 22:12:22 +00:00
README
check.sql
fix.sql
mount.c fix user-after-free bug 2013-04-22 13:28:28 +00:00
newfs.sql
pgfs.h
pgfs_db.c
pgfs_db.h
pgfs_debug.c
pgfs_debug.h
pgfs_puffs.c de-foodify comment 2014-10-18 07:11:07 +00:00
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