head 1.1; access; symbols netbsd-11-0-RC5:1.1 netbsd-11-0-RC4:1.1 netbsd-11-0-RC3:1.1 netbsd-11-0-RC2:1.1 netbsd-11-0-RC1:1.1 perseant-exfatfs-base-20250801:1.1 netbsd-11:1.1.0.86 netbsd-11-base:1.1 netbsd-10-1-RELEASE:1.1 perseant-exfatfs-base-20240630:1.1 perseant-exfatfs:1.1.0.84 perseant-exfatfs-base:1.1 netbsd-8-3-RELEASE:1.1 netbsd-9-4-RELEASE:1.1 netbsd-10-0-RELEASE:1.1 netbsd-10-0-RC6:1.1 netbsd-10-0-RC5:1.1 netbsd-10-0-RC4:1.1 netbsd-10-0-RC3:1.1 netbsd-10-0-RC2:1.1 netbsd-10-0-RC1:1.1 netbsd-10:1.1.0.82 netbsd-10-base:1.1 netbsd-9-3-RELEASE:1.1 cjep_sun2x-base1:1.1 cjep_sun2x:1.1.0.80 cjep_sun2x-base:1.1 cjep_staticlib_x-base1:1.1 netbsd-9-2-RELEASE:1.1 cjep_staticlib_x:1.1.0.78 cjep_staticlib_x-base:1.1 netbsd-9-1-RELEASE:1.1 phil-wifi-20200421:1.1 phil-wifi-20200411:1.1 is-mlppp:1.1.0.76 is-mlppp-base:1.1 phil-wifi-20200406:1.1 netbsd-8-2-RELEASE:1.1 netbsd-9-0-RELEASE:1.1 netbsd-9-0-RC2:1.1 netbsd-9-0-RC1:1.1 phil-wifi-20191119:1.1 netbsd-9:1.1.0.74 netbsd-9-base:1.1 phil-wifi-20190609:1.1 netbsd-8-1-RELEASE:1.1 netbsd-8-1-RC1:1.1 pgoyette-compat-merge-20190127:1.1 pgoyette-compat-20190127:1.1 pgoyette-compat-20190118:1.1 pgoyette-compat-1226:1.1 pgoyette-compat-1126:1.1 pgoyette-compat-1020:1.1 pgoyette-compat-0930:1.1 pgoyette-compat-0906:1.1 netbsd-7-2-RELEASE:1.1 pgoyette-compat-0728:1.1 netbsd-8-0-RELEASE:1.1 phil-wifi:1.1.0.72 phil-wifi-base:1.1 pgoyette-compat-0625:1.1 netbsd-8-0-RC2:1.1 pgoyette-compat-0521:1.1 pgoyette-compat-0502:1.1 pgoyette-compat-0422:1.1 netbsd-8-0-RC1:1.1 pgoyette-compat-0415:1.1 pgoyette-compat-0407:1.1 pgoyette-compat-0330:1.1 pgoyette-compat-0322:1.1 pgoyette-compat-0315:1.1 netbsd-7-1-2-RELEASE:1.1 pgoyette-compat:1.1.0.70 pgoyette-compat-base:1.1 netbsd-7-1-1-RELEASE:1.1 matt-nb8-mediatek:1.1.0.68 matt-nb8-mediatek-base:1.1 perseant-stdc-iso10646:1.1.0.66 perseant-stdc-iso10646-base:1.1 netbsd-8:1.1.0.64 netbsd-8-base:1.1 prg-localcount2-base3:1.1 prg-localcount2-base2:1.1 prg-localcount2-base1:1.1 prg-localcount2:1.1.0.62 prg-localcount2-base:1.1 pgoyette-localcount-20170426:1.1 bouyer-socketcan-base1:1.1 pgoyette-localcount-20170320:1.1 netbsd-7-1:1.1.0.60 netbsd-7-1-RELEASE:1.1 netbsd-7-1-RC2:1.1 netbsd-7-nhusb-base-20170116:1.1 bouyer-socketcan:1.1.0.58 bouyer-socketcan-base:1.1 pgoyette-localcount-20170107:1.1 netbsd-7-1-RC1:1.1 pgoyette-localcount-20161104:1.1 netbsd-7-0-2-RELEASE:1.1 localcount-20160914:1.1 netbsd-7-nhusb:1.1.0.56 netbsd-7-nhusb-base:1.1 pgoyette-localcount-20160806:1.1 pgoyette-localcount-20160726:1.1 pgoyette-localcount:1.1.0.54 pgoyette-localcount-base:1.1 netbsd-7-0-1-RELEASE:1.1 netbsd-7-0:1.1.0.52 netbsd-7-0-RELEASE:1.1 netbsd-7-0-RC3:1.1 netbsd-7-0-RC2:1.1 netbsd-7-0-RC1:1.1 netbsd-5-2-3-RELEASE:1.1 netbsd-5-1-5-RELEASE:1.1 netbsd-6-0-6-RELEASE:1.1 netbsd-6-1-5-RELEASE:1.1 netbsd-7:1.1.0.50 netbsd-7-base:1.1 yamt-pagecache-base9:1.1 yamt-pagecache-tag8:1.1 netbsd-6-1-4-RELEASE:1.1 netbsd-6-0-5-RELEASE:1.1 tls-earlyentropy:1.1.0.48 tls-earlyentropy-base:1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1 riastradh-drm2-base3:1.1 netbsd-6-1-3-RELEASE:1.1 netbsd-6-0-4-RELEASE:1.1 netbsd-5-2-2-RELEASE:1.1 netbsd-5-1-4-RELEASE:1.1 netbsd-6-1-2-RELEASE:1.1 netbsd-6-0-3-RELEASE:1.1 netbsd-5-2-1-RELEASE:1.1 netbsd-5-1-3-RELEASE:1.1 netbsd-6-1-1-RELEASE:1.1 riastradh-drm2-base2:1.1 riastradh-drm2-base1:1.1 riastradh-drm2:1.1.0.42 riastradh-drm2-base:1.1 netbsd-6-1:1.1.0.46 netbsd-6-0-2-RELEASE:1.1 netbsd-6-1-RELEASE:1.1 netbsd-6-1-RC4:1.1 netbsd-6-1-RC3:1.1 agc-symver:1.1.0.44 agc-symver-base:1.1 netbsd-6-1-RC2:1.1 netbsd-6-1-RC1:1.1 yamt-pagecache-base8:1.1 netbsd-5-2:1.1.0.40 netbsd-6-0-1-RELEASE:1.1 yamt-pagecache-base7:1.1 netbsd-5-2-RELEASE:1.1 netbsd-5-2-RC1:1.1 matt-nb6-plus-nbase:1.1 yamt-pagecache-base6:1.1 netbsd-6-0:1.1.0.38 netbsd-6-0-RELEASE:1.1 netbsd-6-0-RC2:1.1 tls-maxphys:1.1.0.36 tls-maxphys-base:1.1 matt-nb6-plus:1.1.0.34 matt-nb6-plus-base:1.1 netbsd-6-0-RC1:1.1 yamt-pagecache-base5:1.1 yamt-pagecache-base4:1.1 netbsd-6:1.1.0.32 netbsd-6-base:1.1 netbsd-5-1-2-RELEASE:1.1 netbsd-5-1-1-RELEASE:1.1 yamt-pagecache-base3:1.1 yamt-pagecache-base2:1.1 yamt-pagecache:1.1.0.30 yamt-pagecache-base:1.1 cherry-xenmp:1.1.0.28 cherry-xenmp-base:1.1 bouyer-quota2-nbase:1.1 bouyer-quota2:1.1.0.26 bouyer-quota2-base:1.1 matt-mips64-premerge-20101231:1.1 matt-nb5-mips64-premerge-20101231:1.1 matt-nb5-pq3:1.1.0.24 matt-nb5-pq3-base:1.1 netbsd-5-1:1.1.0.22 netbsd-5-1-RELEASE:1.1 netbsd-5-1-RC4:1.1 matt-nb5-mips64-k15:1.1 netbsd-5-1-RC3:1.1 netbsd-5-1-RC2:1.1 netbsd-5-1-RC1:1.1 netbsd-5-0-2-RELEASE:1.1 matt-nb5-mips64-premerge-20091211:1.1 matt-premerge-20091211:1.1 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1 matt-nb4-mips64-k7-u2a-k9b:1.1 matt-nb5-mips64-u1-k1-k5:1.1 matt-nb5-mips64:1.1.0.20 netbsd-5-0-1-RELEASE:1.1 jym-xensuspend-nbase:1.1 netbsd-5-0:1.1.0.18 netbsd-5-0-RELEASE:1.1 netbsd-5-0-RC4:1.1 netbsd-5-0-RC3:1.1 netbsd-5-0-RC2:1.1 jym-xensuspend:1.1.0.16 jym-xensuspend-base:1.1 netbsd-5-0-RC1:1.1 netbsd-5:1.1.0.14 netbsd-5-base:1.1 matt-mips64-base2:1.1 wrstuden-revivesa-base-3:1.1 wrstuden-revivesa-base-2:1.1 wrstuden-revivesa-base-1:1.1 yamt-pf42-base4:1.1 yamt-pf42-base3:1.1 hpcarm-cleanup-nbase:1.1 yamt-pf42-baseX:1.1 yamt-pf42-base2:1.1 wrstuden-revivesa:1.1.0.12 wrstuden-revivesa-base:1.1 yamt-pf42:1.1.0.10 yamt-pf42-base:1.1 mjf-devfs2:1.1.0.8 mjf-devfs2-base:1.1 keiichi-mipv6-nbase:1.1 keiichi-mipv6:1.1.0.6 keiichi-mipv6-base:1.1 matt-armv6-nbase:1.1 matt-armv6-prevmlocking:1.1.2.2 cube-autoconf:1.1.0.4 cube-autoconf-base:1.1 matt-armv6-base:1.1 matt-armv6:1.1.0.2 hpcarm-cleanup-base:1.1; locks; strict; comment @# @; 1.1 date 2007.08.28.19.45.04; author agc; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2007.08.28.19.45.04; author matt; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2007.11.06.23.12.51; author matt; state Exp; branches; next ; desc @@ 1.1 log @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 > @ text @# $FreeBSD: src/lib/libfetch/ftp.errors,v 1.4.2.3 2002/11/27 15:41:24 des Exp $ # # This list is taken from RFC 959. # It probably needs a going over. # 110 OK Restart marker reply 120 TEMP Service ready in a few minutes 125 OK Data connection already open; transfer starting 150 OK File status okay; about to open data connection 200 OK Command okay 202 PROTO Command not implemented, superfluous at this site 211 INFO System status, or system help reply 212 INFO Directory status 213 INFO File status 214 INFO Help message 215 INFO Set system type 220 OK Service ready for new user 221 OK Service closing control connection 225 OK Data connection open; no transfer in progress 226 OK Requested file action successful 227 OK Entering Passive Mode 229 OK Entering Extended Passive Mode 230 OK User logged in, proceed 250 OK Requested file action okay, completed 257 OK File/directory created 331 AUTH User name okay, need password 332 AUTH Need account for login 350 OK Requested file action pending further information 421 DOWN Service not available, closing control connection 425 NETWORK Can't open data connection 426 ABORT Connection closed; transfer aborted 450 UNAVAIL File unavailable (e.g., file busy) 451 SERVER Requested action aborted: local error in processing 452 FULL Insufficient storage space in system 500 PROTO Syntax error, command unrecognized 501 PROTO Syntax error in parameters or arguments 502 PROTO Command not implemented 503 PROTO Bad sequence of commands 504 PROTO Command not implemented for that parameter 530 AUTH Not logged in 532 AUTH Need account for storing files 535 PROTO Bug in MediaHawk Video Kernel FTP server 550 UNAVAIL File unavailable (e.g., file not found, no access) 551 PROTO Requested action aborted. Page type unknown 552 FULL Exceeded storage allocation 553 EXISTS File name not allowed 999 PROTO Protocol error @ 1.1.2.1 log @file ftp.errors was added on branch matt-armv6 on 2007-11-06 23:12:51 +0000 @ text @d1 47 @ 1.1.2.2 log @sync with HEAD @ text @a0 47 # $FreeBSD: src/lib/libfetch/ftp.errors,v 1.4.2.3 2002/11/27 15:41:24 des Exp $ # # This list is taken from RFC 959. # It probably needs a going over. # 110 OK Restart marker reply 120 TEMP Service ready in a few minutes 125 OK Data connection already open; transfer starting 150 OK File status okay; about to open data connection 200 OK Command okay 202 PROTO Command not implemented, superfluous at this site 211 INFO System status, or system help reply 212 INFO Directory status 213 INFO File status 214 INFO Help message 215 INFO Set system type 220 OK Service ready for new user 221 OK Service closing control connection 225 OK Data connection open; no transfer in progress 226 OK Requested file action successful 227 OK Entering Passive Mode 229 OK Entering Extended Passive Mode 230 OK User logged in, proceed 250 OK Requested file action okay, completed 257 OK File/directory created 331 AUTH User name okay, need password 332 AUTH Need account for login 350 OK Requested file action pending further information 421 DOWN Service not available, closing control connection 425 NETWORK Can't open data connection 426 ABORT Connection closed; transfer aborted 450 UNAVAIL File unavailable (e.g., file busy) 451 SERVER Requested action aborted: local error in processing 452 FULL Insufficient storage space in system 500 PROTO Syntax error, command unrecognized 501 PROTO Syntax error in parameters or arguments 502 PROTO Command not implemented 503 PROTO Bad sequence of commands 504 PROTO Command not implemented for that parameter 530 AUTH Not logged in 532 AUTH Need account for storing files 535 PROTO Bug in MediaHawk Video Kernel FTP server 550 UNAVAIL File unavailable (e.g., file not found, no access) 551 PROTO Requested action aborted. Page type unknown 552 FULL Exceeded storage allocation 553 EXISTS File name not allowed 999 PROTO Protocol error @