|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
|
| 1.2 |
09-Mar-2008 |
dholland |
MKMAN should not be set in source makefiles. Use NOMAN.
|
|
Revision tags: matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
| 1.1 |
23-Feb-2007 |
agc |
branches: 1.1.4; 1.1.8; Add dbfs, an example (re)fuse file system which mounts a Berkeley database as a file system.
The file was created in the first place with the following commands:
cp /etc/passwd infile db -E B -w -f infile -F: -C btree bdb.db
and mounted as follows:
./dbfs bdb.db /mnt
Example use is as follows, using a btree-based database with login names as the key, and the rest of the passwd file entry as the value:
[21:17:20] agc@inspiron1300 ~ 142 > df -i /mnt Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on puffs:refuse:dbfs 32 32 0 100% 1 0 100% /mnt [21:17:25] agc@inspiron1300 ~ 143 > l /mnt total 2 drwxr-xr-x 2 root wheel 0 Jan 1 1970 . drwxr-xr-x 29 root wheel 1024 Jan 31 21:14 .. -r--r--r-- 1 agc agc 55 Feb 23 14:49 _pflogd -r--r--r-- 1 agc agc 50 Feb 23 14:49 _proxy -r--r--r-- 1 agc agc 46 Feb 23 14:49 _rwhod -r--r--r-- 1 agc agc 49 Feb 23 14:49 _timedc -r--r--r-- 1 agc agc 33 Feb 23 14:49 agc -r--r--r-- 1 agc agc 51 Feb 23 14:49 bin -r--r--r-- 1 agc agc 40 Feb 23 14:49 daemon -r--r--r-- 1 agc agc 46 Feb 23 14:49 games -r--r--r-- 1 agc agc 54 Feb 23 14:49 named -r--r--r-- 1 agc agc 56 Feb 23 14:49 nobody -r--r--r-- 1 agc agc 53 Feb 23 14:49 ntpd -r--r--r-- 1 agc agc 49 Feb 23 14:49 operator -r--r--r-- 1 agc agc 55 Feb 23 14:49 postfix -r--r--r-- 1 agc agc 32 Feb 23 14:49 root -r--r--r-- 1 agc agc 53 Feb 23 14:49 sshd -r--r--r-- 1 agc agc 43 Feb 23 14:49 toor -r--r--r-- 1 agc agc 52 Feb 23 14:49 uucp [21:17:32] agc@inspiron1300 ~ 144 > grep nologin /mnt/* /mnt/_pflogd:*:18:18:& pseudo-user:/var/chroot/pflogd:/sbin/nologin /mnt/_proxy:*:21:21:Proxy Services:/nonexistent:/sbin/nologin /mnt/_rwhod:*:19:19:& pseudo-user:/var/rwho:/sbin/nologin /mnt/_timedc:*:22:22:& pseudo-user:/nonexistent:/sbin/nologin /mnt/bin:*:3:7:Binaries Commands and Source:/:/sbin/nologin /mnt/daemon:*:1:1:The devil himself:/:/sbin/nologin /mnt/games:*:7:13:& pseudo-user:/usr/games:/sbin/nologin /mnt/named:*:14:14:& pseudo-user:/var/chroot/named:/sbin/nologin /mnt/nobody:*:32767:39:Unprivileged user:/nonexistent:/sbin/nologin /mnt/ntpd:*:15:15:& pseudo-user:/var/chroot/ntpd:/sbin/nologin /mnt/operator:*:2:5:System &:/usr/guest/operator:/sbin/nologin /mnt/postfix:*:12:12:& pseudo-user:/var/spool/postfix:/sbin/nologin /mnt/sshd:*:16:16:& pseudo-user:/var/chroot/sshd:/sbin/nologin /mnt/uucp:*:66:1:UNIX-to-UNIX Copy:/nonexistent:/sbin/nologin [21:17:37] agc@inspiron1300 ~ 145 >
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
| 1.1 |
23-Feb-2007 |
agc |
Add dbfs, an example (re)fuse file system which mounts a Berkeley database as a file system.
The file was created in the first place with the following commands:
cp /etc/passwd infile db -E B -w -f infile -F: -C btree bdb.db
and mounted as follows:
./dbfs bdb.db /mnt
Example use is as follows, using a btree-based database with login names as the key, and the rest of the passwd file entry as the value:
[21:17:20] agc@inspiron1300 ~ 142 > df -i /mnt Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on puffs:refuse:dbfs 32 32 0 100% 1 0 100% /mnt [21:17:25] agc@inspiron1300 ~ 143 > l /mnt total 2 drwxr-xr-x 2 root wheel 0 Jan 1 1970 . drwxr-xr-x 29 root wheel 1024 Jan 31 21:14 .. -r--r--r-- 1 agc agc 55 Feb 23 14:49 _pflogd -r--r--r-- 1 agc agc 50 Feb 23 14:49 _proxy -r--r--r-- 1 agc agc 46 Feb 23 14:49 _rwhod -r--r--r-- 1 agc agc 49 Feb 23 14:49 _timedc -r--r--r-- 1 agc agc 33 Feb 23 14:49 agc -r--r--r-- 1 agc agc 51 Feb 23 14:49 bin -r--r--r-- 1 agc agc 40 Feb 23 14:49 daemon -r--r--r-- 1 agc agc 46 Feb 23 14:49 games -r--r--r-- 1 agc agc 54 Feb 23 14:49 named -r--r--r-- 1 agc agc 56 Feb 23 14:49 nobody -r--r--r-- 1 agc agc 53 Feb 23 14:49 ntpd -r--r--r-- 1 agc agc 49 Feb 23 14:49 operator -r--r--r-- 1 agc agc 55 Feb 23 14:49 postfix -r--r--r-- 1 agc agc 32 Feb 23 14:49 root -r--r--r-- 1 agc agc 53 Feb 23 14:49 sshd -r--r--r-- 1 agc agc 43 Feb 23 14:49 toor -r--r--r-- 1 agc agc 52 Feb 23 14:49 uucp [21:17:32] agc@inspiron1300 ~ 144 > grep nologin /mnt/* /mnt/_pflogd:*:18:18:& pseudo-user:/var/chroot/pflogd:/sbin/nologin /mnt/_proxy:*:21:21:Proxy Services:/nonexistent:/sbin/nologin /mnt/_rwhod:*:19:19:& pseudo-user:/var/rwho:/sbin/nologin /mnt/_timedc:*:22:22:& pseudo-user:/nonexistent:/sbin/nologin /mnt/bin:*:3:7:Binaries Commands and Source:/:/sbin/nologin /mnt/daemon:*:1:1:The devil himself:/:/sbin/nologin /mnt/games:*:7:13:& pseudo-user:/usr/games:/sbin/nologin /mnt/named:*:14:14:& pseudo-user:/var/chroot/named:/sbin/nologin /mnt/nobody:*:32767:39:Unprivileged user:/nonexistent:/sbin/nologin /mnt/ntpd:*:15:15:& pseudo-user:/var/chroot/ntpd:/sbin/nologin /mnt/operator:*:2:5:System &:/usr/guest/operator:/sbin/nologin /mnt/postfix:*:12:12:& pseudo-user:/var/spool/postfix:/sbin/nologin /mnt/sshd:*:16:16:& pseudo-user:/var/chroot/sshd:/sbin/nologin /mnt/uucp:*:66:1:UNIX-to-UNIX Copy:/nonexistent:/sbin/nologin [21:17:37] agc@inspiron1300 ~ 145 >
|