summaryrefslogtreecommitdiff
path: root/sysutils/fs-kit
diff options
context:
space:
mode:
authoragc <agc>2005-10-01 18:27:37 +0000
committeragc <agc>2005-10-01 18:27:37 +0000
commitf2328dfeede22223d02d32dacca43c635e7a61fc (patch)
tree200d22323d392ba470010700c7baee9c3d1addeb /sysutils/fs-kit
parentf15e5e05ae2bee8ffde007d5e240c2b6e203d975 (diff)
downloadpkgsrc-f2328dfeede22223d02d32dacca43c635e7a61fc.tar.gz
Initial import of fs-kit-0.4 into the Packages Collection.
Welcome to the File System Construction Kit! This is a software package that accompanies the book, Practical File System Design, which Dominic Giampaolo wrote and is published by Morgan Kaufmann (ISBN 1558604979). This package is a very simple framework in which you can experiment with a working (but simple) file system implementation. The framework is designed so that you can go in and modify one part of it, such as how the used and free disk blocks are managed, and not have to touch the rest of the file system. And because the package creates its file system inside of a normal file on your hard disk, you don't have to have a spare disk or require special (root) privileges to run the program. The goal is that this package should provide a convenient test bed for trying out new file system ideas without having to go through the pain and difficulty of creating a real kernel based file system. The API is generic enough however that after an you debug your implementation within this framework it could be moved to a real kernel based file system for the BeOS or a Unix like operating system. This package has a "no commercial use" licence.
Diffstat (limited to 'sysutils/fs-kit')
-rw-r--r--sysutils/fs-kit/DESCR18
-rw-r--r--sysutils/fs-kit/Makefile25
-rw-r--r--sysutils/fs-kit/PLIST5
-rw-r--r--sysutils/fs-kit/distinfo6
-rw-r--r--sysutils/fs-kit/patches/patch-aa13
5 files changed, 67 insertions, 0 deletions
diff --git a/sysutils/fs-kit/DESCR b/sysutils/fs-kit/DESCR
new file mode 100644
index 00000000000..ace6e064787
--- /dev/null
+++ b/sysutils/fs-kit/DESCR
@@ -0,0 +1,18 @@
+Welcome to the File System Construction Kit! This is a software
+package that accompanies the book, Practical File System Design, which
+Dominic Giampaolo wrote and is published by Morgan Kaufmann (ISBN
+1558604979).
+
+This package is a very simple framework in which you can experiment
+with a working (but simple) file system implementation. The framework
+is designed so that you can go in and modify one part of it, such as
+how the used and free disk blocks are managed, and not have to touch
+the rest of the file system. And because the package creates its file
+system inside of a normal file on your hard disk, you don't have to
+have a spare disk or require special (root) privileges to run the
+program. The goal is that this package should provide a convenient
+test bed for trying out new file system ideas without having to go
+through the pain and difficulty of creating a real kernel based file
+system. The API is generic enough however that after an you debug
+your implementation within this framework it could be moved to a real
+kernel based file system for the BeOS or a Unix like operating system.
diff --git a/sysutils/fs-kit/Makefile b/sysutils/fs-kit/Makefile
new file mode 100644
index 00000000000..121f8e786c6
--- /dev/null
+++ b/sysutils/fs-kit/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/01 18:27:37 agc Exp $
+
+DISTNAME= fs-kit-0.4
+CATEGORIES= sysutils
+MASTER_SITES= http://www.nobius.org/~dbg/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.nobius.org/~dbg/
+COMMENT= User-level filesystem testing kit
+
+LICENSE= fs-kit-license
+
+WRKSRC= ${WRKDIR}/fs-kit
+
+CFLAGS+= -Dunix=1
+MAKEFILE= makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fsh ${PREFIX}/sbin/fs-fsh
+ ${INSTALL_PROGRAM} ${WRKSRC}/makefs ${PREFIX}/sbin/fs-makefs
+ ${INSTALL_PROGRAM} ${WRKSRC}/tstfs ${PREFIX}/sbin/fs-tstfs
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/fs-kit
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/fs-kit/PLIST b/sysutils/fs-kit/PLIST
new file mode 100644
index 00000000000..2c50292a3f1
--- /dev/null
+++ b/sysutils/fs-kit/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/01 18:27:37 agc Exp $
+sbin/fs-fsh
+sbin/fs-makefs
+sbin/fs-tstfs
+share/doc/fs-kit
diff --git a/sysutils/fs-kit/distinfo b/sysutils/fs-kit/distinfo
new file mode 100644
index 00000000000..b4954f1fab8
--- /dev/null
+++ b/sysutils/fs-kit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/01 18:27:37 agc Exp $
+
+SHA1 (fs-kit-0.4.tgz) = e2226e62b9ae552ec83fc0afeb30b7716040b88f
+RMD160 (fs-kit-0.4.tgz) = 270e09ff438f3c7924476d7905a5458b3ee43fdd
+Size (fs-kit-0.4.tgz) = 73603 bytes
+SHA1 (patch-aa) = 2e7d0929ab2e0b69ec37dda8185b2b80501d3626
diff --git a/sysutils/fs-kit/patches/patch-aa b/sysutils/fs-kit/patches/patch-aa
new file mode 100644
index 00000000000..440c85d5942
--- /dev/null
+++ b/sysutils/fs-kit/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/01 18:27:37 agc Exp $
+
+--- makefile 2005/05/06 21:04:49 1.1
++++ makefile 2005/05/06 21:05:19
+@@ -5,7 +5,7 @@
+ #
+ # change the -O7 to -O3 if your compiler doesn't grok -O7
+ #
+-CFLAGS = -DUSER=1 -O7
++CFLAGS+= -DUSER=1 -O7
+
+ SUPPORT_OBJS = rootfs.o initfs.o kernel.o cache.o sl.o stub.o
+ MISC_OBJS = sysdep.o util.o hexdump.o argv.o