History log of /src/share/examples/puffs/dtfs/
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base yamt-pagecache-base9 yamt-pagecache-tag8 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 agc-symver-base tls-maxphys-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4 yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base bouyer-quota2-nbase bouyer-quota2-base
1.2 06-Jul-2010 pooka

Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base netbsd-4-base
1.1 23-Oct-2006 pooka

dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
1.1 06-Jul-2010 pooka

Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).


Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base yamt-pagecache-base9 yamt-pagecache-tag8 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 agc-symver-base tls-maxphys-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4 yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base bouyer-quota2-nbase bouyer-quota2-base
1.43 06-Jul-2010 pooka

Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).


1.42 06-Jul-2010 pooka

Reinstate the inactive operation (mostly dummy). This makes -i
work again and henceforth makes it possible to test inactive.


Revision tags: matt-premerge-20091211
1.41 05-Dec-2009 pooka

Use puffs_kernerr_abort as the error handler.


1.40 04-Dec-2009 pooka

Remove no longer supported suspend code.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-base hpcarm-cleanup-base
1.39 19-Dec-2007 pooka

use generic getattr


Revision tags: cube-autoconf-base
1.38 16-Nov-2007 pooka

use puffs_daemon() instead of daemon()


1.37 05-Nov-2007 pooka

Actually, daemonize the file servers before mounting. I might require
at some point that the local protocol handler does not change after
the file system has been mounted.


1.36 05-Nov-2007 pooka

Pull the daemonizing code out of the library mainloop into the file
servers. Calling daemon() (i.e. fork()ing) inside a library can
cause nice surprises for e.g. threaded programs. As discussed with
Greg Oster & others.


1.35 11-Oct-2007 pooka

add testing option -l, which causes the flush of the page cache of
the node under lookup (if found)


1.34 05-Sep-2007 pooka

fix usage. from Karl Jenkinson


1.33 09-Aug-2007 pooka

branches: 1.33.2;
require standard mount_foo bar /path usage, where bar is ignored here


Revision tags: matt-mips64-base
1.32 27-Jul-2007 pooka

branches: 1.32.4;
implement node_mmap and allow to specify accepted mappings on command line


1.31 19-Jul-2007 pooka

-m for setting maxreqlen


1.30 17-Jul-2007 pooka

* add mntfromname parameter to puffs_init()
* set it in file servers


1.29 01-Jul-2007 pooka

dtfs -f for PUFFS_KFLAG_LOOKUP_FULLPNBUF


1.28 06-Jun-2007 pooka

Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...


1.27 05-Jun-2007 pooka

make getopt() actually accept -t also


1.26 18-May-2007 pooka

Use SETBACK_NOREF instead of SETBACK_INACT to control node removal.
Avoids one round of inactive (wheee!).


1.25 18-May-2007 pooka

"support" vop_poll enough for testing purposes. In short, yield every
poll request for a few seconds before returning.


1.24 17-May-2007 pooka

Adapt to changes with mounting file systems.

Introduce a parameter -r to control the root node type. For example
"dtfs -r 'lnk /etc' /puffs" mounts dtfs with the root node as a
symbolic link to /etc:

jojonaru# ./dtfs -r 'lnk /etc' /puffs
jojonaru# ls -l /puffs
lrw-rw-rw- 1 root wheel 4 May 17 14:06 /puffs -> /etc
jojonaru# cd /puffs
jojonaru# pwd
/etc
jojonaru#

Extra credit for figuring out how to unmount this file system with
umount(8).

Likewise, "dtfs -r 'chr 2 12' /puffs" makes /puffs (i386) /dev/zero etcetc.


1.23 07-May-2007 pooka

Unmount frequently requires some test code, so define it here as
a dummy instead of libpuffs to make plugging the test code in easier.


1.22 07-May-2007 pooka

Default to inactive-on-demand, use inactive setback to request inactive
to be called for a removed node (for unix open file semantics).


1.21 22-Apr-2007 pooka

mount with write-through page cache if command line -t is given


1.20 16-Apr-2007 pooka

update usage


1.19 16-Apr-2007 pooka

adapt to kernel changes with file handles


1.18 13-Apr-2007 pooka

Instead of keeping on adding parameters to puffs_mount(), make it
only take the bare essentials, which currently means removing
"maxreqlen" from the argument list (all current callers I'm aware
of set it as 0 anyway). Introduce puffs_init(), which provides a
context for setting various parameters and puffs_domount(), which
can be used to mount the file system. Keep puffs_mount() as a
shortcut for the above two for simple file systems.

Bump development ABI version to 13. After all, it's Friday the 13th.
Watch out! Bad things can happen on Friday the 13th. --No carrier--


1.17 11-Apr-2007 pooka

support nfs exporting dtfs


1.16 20-Mar-2007 pooka

add support for permissions and file ownership


1.15 26-Jan-2007 pooka

Add very uncorrect "suspend fs if server gets SIGUSR1" test for fs
suspension (hey, it's a test file system after all .... )


1.14 15-Jan-2007 pooka

adapt to libpuffs changes


1.13 06-Jan-2007 pooka

* do mount as a forward operation instead of a callback
* process -o args for mount


1.12 29-Dec-2006 pooka

apply wide-angle rotollation beam to match libpuffs changes


1.11 07-Dec-2006 pooka

use command line flags to set various options


1.10 07-Dec-2006 pooka

counter-rototill for libpuffs change: unify all callback ops under
a single structure


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
1.9 01-Dec-2006 pooka

update flag names


1.8 30-Nov-2006 pooka

adapt to flags parameter for puffs_mainloop()


1.7 18-Nov-2006 pooka

* no more fsid
* no more start()


1.6 14-Nov-2006 pooka

adapt to libpuffs namespace change


1.5 14-Nov-2006 pooka

use generic dummies for sync and unmount


1.4 09-Nov-2006 pooka

play catchup with the rest of the world, i.e. shuffle stuff a bit


1.3 26-Oct-2006 pooka

support mknod, essentially makes it possible to run dtfs as /dev


1.2 25-Oct-2006 pooka

Only nuke directory entry in remove and clear data completely only
when the node is reclaimed. This makes dtfs preserve unix open file
semantics.


1.1 23-Oct-2006 pooka

dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing


Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base yamt-pagecache-base9 yamt-pagecache-tag8 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 agc-symver-base tls-maxphys-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4 yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base bouyer-quota2-nbase bouyer-quota2-base
1.22 06-Jul-2010 pooka

Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
1.21 27-Sep-2007 pooka

dtfs memsets all allocated block content to 0 immediately, so to
avoid wasting unbelievable amounts of memory, set the blocksize to
something more believable. Should fix the memset-part to act only
up to the size the file is extended to, though.


Revision tags: matt-mips64-base
1.20 27-Jul-2007 pooka

branches: 1.20.4; 1.20.6;
implement node_mmap and allow to specify accepted mappings on command line


1.19 17-Jul-2007 pooka

With fullpath support we need to check name lengths also, otherwise
lookup for "foo" will match "foobar".


1.18 01-Jul-2007 pooka

dtfs -f for PUFFS_KFLAG_LOOKUP_FULLPNBUF


1.17 06-Jun-2007 pooka

Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...


1.16 18-May-2007 pooka

"support" vop_poll enough for testing purposes. In short, yield every
poll request for a few seconds before returning.


1.15 17-May-2007 pooka

Adapt to changes with mounting file systems.

Introduce a parameter -r to control the root node type. For example
"dtfs -r 'lnk /etc' /puffs" mounts dtfs with the root node as a
symbolic link to /etc:

jojonaru# ./dtfs -r 'lnk /etc' /puffs
jojonaru# ls -l /puffs
lrw-rw-rw- 1 root wheel 4 May 17 14:06 /puffs -> /etc
jojonaru# cd /puffs
jojonaru# pwd
/etc
jojonaru#

Extra credit for figuring out how to unmount this file system with
umount(8).

Likewise, "dtfs -r 'chr 2 12' /puffs" makes /puffs (i386) /dev/zero etcetc.


1.14 11-Apr-2007 pooka

support nfs exporting dtfs


1.13 10-Apr-2007 pooka

use dev_t from puffs_node instead of duplicating it into
fs specific structures


1.12 10-Apr-2007 pooka

g/c leftovers


1.11 01-Apr-2007 pooka

Allocate file memory in blocks instead of one big chunk. Makes
writing large files much cheaper since there's no longer a need to
realloc $lots of memory when the file grows.


1.10 20-Mar-2007 pooka

add support for permissions and file ownership


1.9 11-Mar-2007 pooka

don't shrink file size when writing to the middle of an existing file

(mandatory AsiaBSDCon live commit)


1.8 06-Jan-2007 pooka

* do mount as a forward operation instead of a callback
* process -o args for mount


1.7 07-Dec-2006 pooka

counter-rototill for libpuffs change: unify all callback ops under
a single structure


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
1.6 18-Nov-2006 pooka

* no more fsid
* no more start()


1.5 09-Nov-2006 pooka

play catchup with the rest of the world, i.e. shuffle stuff a bit


1.4 27-Oct-2006 pooka

update appropriate timestamps after each operation. cvs works much
better now with dtfs /tmp


1.3 26-Oct-2006 pooka

support mknod, essentially makes it possible to run dtfs as /dev


1.2 25-Oct-2006 pooka

Only nuke directory entry in remove and clear data completely only
when the node is reclaimed. This makes dtfs preserve unix open file
semantics.


1.1 23-Oct-2006 pooka

dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing


Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base yamt-pagecache-base9 yamt-pagecache-tag8 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 agc-symver-base tls-maxphys-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4 yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base bouyer-quota2-nbase bouyer-quota2-base
1.22 06-Jul-2010 pooka

Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
1.21 11-Oct-2007 pooka

when removing file, free last block also


Revision tags: matt-mips64-base
1.20 22-Jul-2007 pooka

branches: 1.20.4; 1.20.6;
Match code with comment (can't really remember doing it often that
way around .. ) and initialize storage to zero when extending a file.


1.19 17-Jul-2007 pooka

With fullpath support we need to check name lengths also, otherwise
lookup for "foo" will match "foobar".


1.18 01-Jul-2007 pooka

dtfs -f for PUFFS_KFLAG_LOOKUP_FULLPNBUF


1.17 01-Jul-2007 pooka

adapt: pcn->pcn_cred is now a pointer


1.16 06-Jun-2007 pooka

Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...


1.15 12-Apr-2007 pooka

Hide struct puffs_usermount from the rest of the world and provide
accessors for interesting data in it. Namely, you can now get
pu->pu_privdata with puffs_getspecific(), pu->pu_pn_root with
puffs_set/getroot() and pu->pu_maxreqlen with puffs_getmaxreqlen().


1.14 11-Apr-2007 pooka

support nfs exporting dtfs


1.13 01-Apr-2007 pooka

Allocate file memory in blocks instead of one big chunk. Makes
writing large files much cheaper since there's no longer a need to
realloc $lots of memory when the file grows.


1.12 20-Mar-2007 pooka

add support for permissions and file ownership


1.11 11-Mar-2007 pooka

don't shrink file size when writing to the middle of an existing file

(mandatory AsiaBSDCon live commit)


1.10 28-Jan-2007 pooka

Avoid doing a ludicrous number of reallocs when the file grows by only
lazy extending the file in setattr and really extending it in write.


1.9 29-Dec-2006 pooka

apply wide-angle rotollation beam to match libpuffs changes


1.8 05-Dec-2006 pooka

only count directories in the number of hard links to a directory


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
1.7 18-Nov-2006 pooka

* no more fsid
* no more start()


1.6 09-Nov-2006 pooka

play catchup with the rest of the world, i.e. shuffle stuff a bit


1.5 27-Oct-2006 pooka

update appropriate timestamps after each operation. cvs works much
better now with dtfs /tmp


1.4 27-Oct-2006 pooka

relax typechecks so that all file types work (they were already supported)


1.3 26-Oct-2006 pooka

support mknod, essentially makes it possible to run dtfs as /dev


1.2 25-Oct-2006 pooka

Only nuke directory entry in remove and clear data completely only
when the node is reclaimed. This makes dtfs preserve unix open file
semantics.


1.1 23-Oct-2006 pooka

dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing


Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base yamt-pagecache-base9 yamt-pagecache-tag8 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 agc-symver-base tls-maxphys-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4 yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base bouyer-quota2-nbase bouyer-quota2-base
1.25 06-Jul-2010 pooka

Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).


Revision tags: matt-premerge-20091211
1.24 04-Dec-2009 pooka

Remove no longer supported suspend code.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase cube-autoconf-base matt-armv6-base hpcarm-cleanup-base
1.23 30-Nov-2007 pooka

Rototill.

Ok, ok, a few more words about it: stop holding puffs_cc as a holy
value and passing it around to almost every possible place (popquiz:
which kernel variable does this remind you of?). Instead, pass
the natural choice, puffs_usermount, and fetch puffs_cc via
puffs_cc_getcc() only in routines which actually need it. This
not only simplifies code, but (thanks to the introduction of
puffs_cc_getcc()) enables constructs which weren't previously sanely
possible, say layering as a curious example.

There's still a little to do on this front, but this was the major
fs interface blast.


1.22 27-Nov-2007 pooka

Remove "puffs_cid" from the puffs interface following l-removal
from the kernel vfs interfaces. puffs_cc_getcaller(pcc) can be
used now should the same information be desired.


Revision tags: matt-armv6-prevmlocking matt-mips64-base
1.21 01-Jul-2007 pooka

branches: 1.21.4;
adapt: **newnode etc. pointers -> struct puffs_newinfo


1.20 01-Jul-2007 pooka

adapt: pid -> const struct puffs_cid *


1.19 06-Jun-2007 pooka

Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...


1.18 18-May-2007 pooka

"support" vop_poll enough for testing purposes. In short, yield every
poll request for a few seconds before returning.


1.17 17-May-2007 pooka

Adapt to changes with mounting file systems.

Introduce a parameter -r to control the root node type. For example
"dtfs -r 'lnk /etc' /puffs" mounts dtfs with the root node as a
symbolic link to /etc:

jojonaru# ./dtfs -r 'lnk /etc' /puffs
jojonaru# ls -l /puffs
lrw-rw-rw- 1 root wheel 4 May 17 14:06 /puffs -> /etc
jojonaru# cd /puffs
jojonaru# pwd
/etc
jojonaru#

Extra credit for figuring out how to unmount this file system with
umount(8).

Likewise, "dtfs -r 'chr 2 12' /puffs" makes /puffs (i386) /dev/zero etcetc.


1.16 07-May-2007 pooka

Unmount frequently requires some test code, so define it here as
a dummy instead of libpuffs to make plugging the test code in easier.


1.15 16-Apr-2007 pooka

lessen file handle size sanity checks: kernel does it already (mostly)


1.14 16-Apr-2007 pooka

adapt to kernel changes with file handles


1.13 12-Apr-2007 pooka

Hide struct puffs_usermount from the rest of the world and provide
accessors for interesting data in it. Namely, you can now get
pu->pu_privdata with puffs_getspecific(), pu->pu_pn_root with
puffs_set/getroot() and pu->pu_maxreqlen with puffs_getmaxreqlen().


1.12 11-Apr-2007 pooka

support nfs exporting dtfs


1.11 26-Jan-2007 pooka

Add very uncorrect "suspend fs if server gets SIGUSR1" test for fs
suspension (hey, it's a test file system after all .... )


1.10 15-Jan-2007 pooka

adapt to libpuffs changes


1.9 06-Jan-2007 pooka

* do mount as a forward operation instead of a callback
* process -o args for mount


1.8 29-Dec-2006 pooka

apply wide-angle rotollation beam to match libpuffs changes


1.7 07-Dec-2006 pooka

counter-rototill for libpuffs change: unify all callback ops under
a single structure


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
1.6 18-Nov-2006 pooka

* no more fsid
* no more start()


1.5 14-Nov-2006 pooka

use generic dummies for sync and unmount


1.4 13-Nov-2006 pooka

fix link count for rootnode broken last week


1.3 09-Nov-2006 pooka

play catchup with the rest of the world, i.e. shuffle stuff a bit


1.2 08-Nov-2006 pooka

give an estimation of the amount of free space


1.1 23-Oct-2006 pooka

dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing


Revision tags: perseant-exfatfs-base-20250801 perseant-exfatfs-base-20240630 perseant-exfatfs-base cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base yamt-pagecache-base9 yamt-pagecache-tag8 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 agc-symver-base tls-maxphys-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4 yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base bouyer-quota2-nbase bouyer-quota2-base
1.44 06-Jul-2010 pooka

Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).


1.43 06-Jul-2010 pooka

Reinstate the inactive operation (mostly dummy). This makes -i
work again and henceforth makes it possible to test inactive.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-base hpcarm-cleanup-base
1.42 19-Dec-2007 pooka

use generic getattr


Revision tags: cube-autoconf-base
1.41 30-Nov-2007 pooka

Rototill.

Ok, ok, a few more words about it: stop holding puffs_cc as a holy
value and passing it around to almost every possible place (popquiz:
which kernel variable does this remind you of?). Instead, pass
the natural choice, puffs_usermount, and fetch puffs_cc via
puffs_cc_getcc() only in routines which actually need it. This
not only simplifies code, but (thanks to the introduction of
puffs_cc_getcc()) enables constructs which weren't previously sanely
possible, say layering as a curious example.

There's still a little to do on this front, but this was the major
fs interface blast.


1.40 27-Nov-2007 pooka

Remove "puffs_cid" from the puffs interface following l-removal
from the kernel vfs interfaces. puffs_cc_getcaller(pcc) can be
used now should the same information be desired.


1.39 11-Oct-2007 pooka

add testing option -l, which causes the flush of the page cache of
the node under lookup (if found)


1.38 15-Aug-2007 pooka

branches: 1.38.2;
Nuke PUFFSLOOKUP_FOO and move to NAMEI_FOO


Revision tags: matt-mips64-base
1.37 27-Jul-2007 pooka

branches: 1.37.4;
implement node_mmap and allow to specify accepted mappings on command line


1.36 22-Jul-2007 pooka

missed one place to set dirent namelen - unmiss it


1.35 19-Jul-2007 pooka

Oops, the cookies for nfs of course represent the *next* directory
entry offset, not the current one.


1.34 17-Jul-2007 pooka

With fullpath support we need to check name lengths also, otherwise
lookup for "foo" will match "foobar".


1.33 17-Jul-2007 pooka

nuke accidental debug printf


1.32 01-Jul-2007 pooka

dtfs -f for PUFFS_KFLAG_LOOKUP_FULLPNBUF


1.31 01-Jul-2007 pooka

adapt: **newnode etc. pointers -> struct puffs_newinfo


1.30 01-Jul-2007 pooka

adapt: pid -> const struct puffs_cid *


1.29 01-Jul-2007 pooka

adapt: pcn->pcn_cred is now a pointer


1.28 06-Jun-2007 pooka

Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...


1.27 18-May-2007 pooka

Use SETBACK_NOREF instead of SETBACK_INACT to control node removal.
Avoids one round of inactive (wheee!).


1.26 18-May-2007 pooka

"support" vop_poll enough for testing purposes. In short, yield every
poll request for a few seconds before returning.


1.25 07-May-2007 pooka

Default to inactive-on-demand, use inactive setback to request inactive
to be called for a removed node (for unix open file semantics).


1.24 20-Apr-2007 pooka

remove assertion now done in libpuffs


1.23 17-Apr-2007 pooka

use PUFFS_STORE_DCOOKIE


1.22 11-Apr-2007 pooka

support nfs exporting dtfs


1.21 10-Apr-2007 pooka

use dev_t from puffs_node instead of duplicating it into
fs specific structures


1.20 01-Apr-2007 pooka

Allocate file memory in blocks instead of one big chunk. Makes
writing large files much cheaper since there's no longer a need to
realloc $lots of memory when the file grows.


1.19 22-Mar-2007 pooka

reflect libpuffs change of puffs_access argument unification


1.18 21-Mar-2007 pooka

check puffs_access_{chmod,chown,times} in setattr


1.17 20-Mar-2007 pooka

add support for permissions and file ownership


1.16 11-Mar-2007 pooka

don't shrink file size when writing to the middle of an existing file

(mandatory AsiaBSDCon live commit)


1.15 27-Feb-2007 pooka

* remove rogue header
* better variable name to avoid shadowing global symbol name


1.14 15-Feb-2007 pooka

PUFFS_ISDOTDOT -> PCNISDOTDOT


1.13 28-Jan-2007 pooka

Avoid doing a ludicrous number of reallocs when the file grows by only
lazy extending the file in setattr and really extending it in write.


1.12 06-Jan-2007 pooka

* do mount as a forward operation instead of a callback
* process -o args for mount


1.11 01-Jan-2007 pooka

SUSv3 says: should the implementation not support directory unlinking,
unlink shall fail with EPERM and the errno of the failure shall be EPERM


1.10 29-Dec-2006 pooka

apply wide-angle rotollation beam to match libpuffs changes


1.9 07-Dec-2006 pooka

counter-rototill for libpuffs change: unify all callback ops under
a single structure


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
1.8 13-Nov-2006 pooka

remove special-case handling for CREATE/RENAME from lookup() - this fs
does not need it, just return ENOENT


1.7 07-Nov-2006 pooka

adapt to new lookup signature


1.6 27-Oct-2006 pooka

update appropriate timestamps after each operation. cvs works much
better now with dtfs /tmp


1.5 27-Oct-2006 pooka

relax typechecks so that all file types work (they were already supported)


1.4 26-Oct-2006 pooka

support mknod, essentially makes it possible to run dtfs as /dev


1.3 25-Oct-2006 pooka

Only nuke directory entry in remove and clear data completely only
when the node is reclaimed. This makes dtfs preserve unix open file
semantics.


1.2 23-Oct-2006 pooka

don't allow to read or write a directory


1.1 23-Oct-2006 pooka

dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing