pooka
37dd7942fc
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--
2007-04-13 13:35:46 +00:00
pooka
95a18d20b9
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().
2007-04-12 15:09:00 +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
27eb6005d2
reflect libpuffs change of puffs_access argument unification
2007-03-22 16:59:34 +00:00
pooka
4370dd6320
check puffs_access_{chmod,chown,times} in setattr
2007-03-21 19:56:49 +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
d89ebe7462
* remove rogue header
...
* better variable name to avoid shadowing global symbol name
2007-02-27 22:03:45 +00:00
pooka
9c41498b0b
PUFFS_ISDOTDOT -> PCNISDOTDOT
2007-02-15 12:52:30 +00:00
pooka
c1b9179682
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.
2007-01-28 10:47:36 +00:00
pooka
f235a8d60c
Add very uncorrect "suspend fs if server gets SIGUSR1" test for fs
...
suspension (hey, it's a test file system after all .... )
2007-01-26 23:02:05 +00:00
pooka
9a25a94ef7
adapt to libpuffs changes
2007-01-15 00:41:09 +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
d584a8d23a
SUSv3 says: should the implementation not support directory unlinking,
...
unlink shall fail with EPERM and the errno of the failure shall be EPERM
2007-01-01 21:32:12 +00:00
pooka
6a42c9c838
apply wide-angle rotollation beam to match libpuffs changes
2006-12-29 15:37:06 +00:00
pooka
fe53828f70
use command line flags to set various options
2006-12-07 22:49:04 +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
05b1899256
only count directories in the number of hard links to a directory
2006-12-05 14:32:03 +00:00
pooka
69dbc08863
update flag names
2006-12-01 12:50:52 +00:00
pooka
496f59a99f
adapt to flags parameter for puffs_mainloop()
2006-11-30 05:38:54 +00:00
pooka
4d33479aef
* no more fsid
...
* no more start()
2006-11-18 12:41:06 +00:00
pooka
ae357b8c97
adapt to libpuffs namespace change
2006-11-14 11:45:53 +00:00
pooka
f173564d8b
use generic dummies for sync and unmount
2006-11-14 11:27:35 +00:00
pooka
0ef848220b
remove special-case handling for CREATE/RENAME from lookup() - this fs
...
does not need it, just return ENOENT
2006-11-13 20:59:48 +00:00
pooka
bc745833ff
fix link count for rootnode broken last week
2006-11-13 20:11:36 +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
05310d3a05
give an estimation of the amount of free space
2006-11-08 11:25:29 +00:00
pooka
da17507da9
adapt to new lookup signature
2006-11-07 22:11:17 +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
9638ee1464
relax typechecks so that all file types work (they were already supported)
2006-10-27 12:26:25 +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
22ec7067d6
don't allow to read or write a directory
2006-10-23 16:20:39 +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