pooka
90900b0311
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.
2007-09-27 12:03:31 +00:00
pooka
e4b63c41f0
implement node_mmap and allow to specify accepted mappings on command line
2007-07-27 08:29:10 +00:00
pooka
ce80f00ff3
With fullpath support we need to check name lengths also, otherwise
...
lookup for "foo" will match "foobar".
2007-07-17 16:33:27 +00:00
pooka
3c01554a05
dtfs -f for PUFFS_KFLAG_LOOKUP_FULLPNBUF
2007-07-01 22:59:09 +00:00
pooka
f8326bf98e
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...
2007-06-06 01:54:59 +00:00
pooka
48d5a49e1f
"support" vop_poll enough for testing purposes. In short, yield every
...
poll request for a few seconds before returning.
2007-05-18 13:55:21 +00:00
pooka
9550017a8d
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.
2007-05-17 14:10:13 +00:00
pooka
3e65ff17b5
support nfs exporting dtfs
2007-04-11 21:07:54 +00:00
pooka
c6d7dea8d5
use dev_t from puffs_node instead of duplicating it into
...
fs specific structures
2007-04-10 13:32:02 +00:00
pooka
d99ec1ff38
g/c leftovers
2007-04-10 12:29:29 +00:00
pooka
4a480ffabb
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.
2007-04-01 10:55:38 +00:00
pooka
6d03fb0803
add support for permissions and file ownership
2007-03-20 18:30:30 +00:00
pooka
19dd9ef4ee
don't shrink file size when writing to the middle of an existing file
...
(mandatory AsiaBSDCon live commit)
2007-03-11 10:08:37 +00:00
pooka
a67e4ce37f
* do mount as a forward operation instead of a callback
...
* process -o args for mount
2007-01-06 18:25:19 +00:00
pooka
fb5e346800
counter-rototill for libpuffs change: unify all callback ops under
...
a single structure
2006-12-07 10:54:29 +00:00
pooka
4d33479aef
* no more fsid
...
* no more start()
2006-11-18 12:41:06 +00:00
pooka
d666e1c0f4
play catchup with the rest of the world, i.e. shuffle stuff a bit
2006-11-09 13:11:52 +00:00
pooka
8fdf9afc13
update appropriate timestamps after each operation. cvs works much
...
better now with dtfs /tmp
2006-10-27 14:03:52 +00:00
pooka
0ba65a4c32
support mknod, essentially makes it possible to run dtfs as /dev
2006-10-26 22:53:25 +00:00
pooka
f9b7e6e829
Only nuke directory entry in remove and clear data completely only
...
when the node is reclaimed. This makes dtfs preserve unix open file
semantics.
2006-10-25 18:18:16 +00:00
pooka
69fe36da66
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
2006-10-23 00:44:53 +00:00