Source-Changes archive

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

CVS commit: src/share/examples/refuse/ian



Module Name:    src
Committed By:   agc
Date:           Tue Aug 28 19:45:05 UTC 2007

Added Files:
        src/share/examples/refuse/ian/ian: Makefile ian.8 ian.c
        src/share/examples/refuse/ian/libfetch: Makefile common.c common.h
            fetch.3 fetch.c fetch.h file.c free2net.h ftp.c ftp.errors http.c
            http.errors

Log Message:
Add a new refuse-based file system called ian - the Internet Access Node.

This utility uses FreeBSD's libfetch (updated for NetBSD, and to quieten
lint) to provide a BSD-licensed ftp/http/https file system similar to the
old alex utility. The full URL is used as the path underneath the "/ian"
mountpoint.

Sample use as follows:

        [19:09:38] agc@inspiron1300 ...examples/refuse/ian 126 > priv 
ian/obj/ian /ian
        [19:09:55] agc@inspiron1300 ...examples/refuse/ian 127 > cat 
/ian/ftp://localhost/motd
        NetBSD 4.99.27 (INSPIRON) #4: Tue Aug 7 13:04:33 BST 2007

        Welcome to NetBSD!

        This system is running a development snapshot of the NetBSD operating 
system,
        also known as NetBSD-current.  It is highly possible for it to contain 
serious
        bugs, regressions, broken features or other problems.  Please bear this 
in mind
        and use the system with care.

        You are encouraged to test this version as thoroughly as possible.  
Should you
        encounter any problem, please report it back to the development team 
using the
        send-pr(1) utility (requires a working MTA).  If yours is not properly 
set up,
        use the web interface at: http://www.netbsd.org/support/send-pr.html

        Thank you for helping us test and improve NetBSD.

        [19:10:17] agc@inspiron1300 ...examples/refuse/ian 128 > df
        Filesystem   1K-blocks       Used      Avail %Cap Mounted on
        /dev/dk0      28101396   19491972    7204356  73% /
        kernfs               1          1          0 100% /kern
        procfs               4          4          0 100% /proc
        ptyfs                1          1          0 100% /dev/pts
        /dev/puffs           0          0          0 100% /ian
        [19:10:21] agc@inspiron1300 ...examples/refuse/ian 129 > ls -al 
/ian/ftp://localhost/motd
        -rw-------  1 root  wheel  705 Aug 28 19:10 /ian/ftp://localhost/motd
        [19:10:42] agc@inspiron1300 ...examples/refuse/ian 130 > ls -al 
~ftp/motd
        -rw-r--r--  1 ftp  ftp  705 Aug 27 21:33 /home/ftp/motd
        [19:10:53] agc@inspiron1300 ...examples/refuse/ian 131 >


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/share/examples/refuse/ian/ian/Makefile \
    src/share/examples/refuse/ian/ian/ian.8 \
    src/share/examples/refuse/ian/ian/ian.c
cvs rdiff -r0 -r1.1 src/share/examples/refuse/ian/libfetch/Makefile \
    src/share/examples/refuse/ian/libfetch/common.c \
    src/share/examples/refuse/ian/libfetch/common.h \
    src/share/examples/refuse/ian/libfetch/fetch.3 \
    src/share/examples/refuse/ian/libfetch/fetch.c \
    src/share/examples/refuse/ian/libfetch/fetch.h \
    src/share/examples/refuse/ian/libfetch/file.c \
    src/share/examples/refuse/ian/libfetch/free2net.h \
    src/share/examples/refuse/ian/libfetch/ftp.c \
    src/share/examples/refuse/ian/libfetch/ftp.errors \
    src/share/examples/refuse/ian/libfetch/http.c \
    src/share/examples/refuse/ian/libfetch/http.errors

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