Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/librefuse



Module Name:    src
Committed By:   agc
Date:           Sun Feb 11 10:31:37 UTC 2007

Added Files:
        src/lib/librefuse: Makefile TODO defs.h fuse.h refuse.3 refuse.c
            shlib_version

Log Message:
Add an implementation of the file system in userspace functionality,
based on top of libpuffs.  This version is still barebones and
incomplete, but will benefit from others working on it, rather than
just me.

The option code has still to be implemented, but this gets far enough
to run hellofs (from the fuse web page):

        % priv ./hellofs ~/hellofs/mnt &
        % l ~/hellofs/mnt
        total 2
        drwxr-xr-x  2 root  wheel    0 Jan  1  1970 .
        drwxr-xr-x  4 agc   agc    512 Feb  9 18:05 ..
        -r--r--r--  1 root  wheel   13 Jan  1  1970 hello
        % cat ~/hellofs/mnt/hello
        Hello World!
        % df ~/hellofs/mnt
        Filesystem           1K-blocks      Used     Avail Capacity  Mounted on
        /dev/dk0              28101396  18946682   7749646    70%    /
        kernfs                       1         1         0   100%    /kern
        procfs                       4         4         0   100%    /proc
        ptyfs                        1         1         0   100%    /dev/pts
        puffs:refuse:hellofs  28101396  18946682   7749646    70%    
/home/agc/hellofs/mnt
        % mount -v -v
        ...
        mount: mount_puffs not found for /home/agc/hellofs/mnt
        puffs:refuse:hellofs on /home/agc/hellofs/mnt type puffs (nosuid, 
nodev, fsid: 0xcb01/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0)
        %

This code is not enabled by default. Yet.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/lib/librefuse/Makefile src/lib/librefuse/TODO \
    src/lib/librefuse/defs.h src/lib/librefuse/fuse.h \
    src/lib/librefuse/refuse.3 src/lib/librefuse/refuse.c \
    src/lib/librefuse/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index