1$NetBSD: rfilter.1,v 1.2 2017/05/09 23:26:49 kamil Exp $
2
3If you don't already have bzip2 and bzcat installed, this example
4won't work.
5
6Use the following configuration file (also in
7/usr/share/examples/mount_portal/rfilter.1.conf):
8
9bzcat/	rfilter	bzcat/	bzcat %s
10
11Mount this configuration file, with a command like:
12% mkdir portal
13% mount_portal `pwd`/myconf `pwd`/portal
14
15Now create a bzip2 file, and test whether it all works:
16% printf "This is\na test\nfile\n" >/tmp/bziptest
17% bzip2 /tmp/bziptest
18% cat portal/bzcat/tmp/bziptest.bz2
19