overview revision 1.1 1 1.1 bgrayson $NetBSD: overview,v 1.1 1999/08/16 06:42:48 bgrayson Exp $
2 1.1 bgrayson
3 1.1 bgrayson Overall notes:
4 1.1 bgrayson
5 1.1 bgrayson 1. Whenever mounting anything with mount_portal, always
6 1.1 bgrayson specify absolute paths. By specifying an absolute path for the
7 1.1 bgrayson configuration file, it can be re-parsed by sending a HUP to the
8 1.1 bgrayson mount process. But since mount_portal calls daemon(), which
9 1.1 bgrayson does a chdir("/"), the re-parse will fail unless the
10 1.1 bgrayson specified file is absolute, not relative.
11 1.1 bgrayson
12 1.1 bgrayson 2. The mount point should always be specified as an absolute
13 1.1 bgrayson path. Otherwise, umount may not be able to unmount it, as it
14 1.1 bgrayson first converts a relative path to an absolute path before
15 1.1 bgrayson checking against the mounted file systems (see
16 1.1 bgrayson realpath(3)). If you mistakenly mount on portal, instead of
17 1.1 bgrayson `pwd`/portal, you can umount with "umount -R portal", which
18 1.1 bgrayson may seg fault, but it will umount.
19 1.1 bgrayson
20 1.1 bgrayson Descriptions of files in this directory:
21 1.1 bgrayson
22 1.1 bgrayson *.conf Configuration files for the corresponding file
23 1.1 bgrayson tcp.1 Simple and advanced tcp: daytime and finger
24 1.1 bgrayson fing.c Program for tcp.1
25 1.1 bgrayson fs.1 Simple fs
26 1.1 bgrayson rfilter.1 Simple rfilter usage: bunzip2/bzcat
27 1.1 bgrayson rfilter.2 Advanced rfilter usage
28 1.1 bgrayson advanced.1 A tutorial
29 1.1 bgrayson
30 1.1 bgrayson In progress:
31 1.1 bgrayson wfilter.1 Simple wfilter usage: bzip2
32 1.1 bgrayson
33 1.1 bgrayson Most (if not all) of these examples were written by Brian Grayson
34 1.1 bgrayson (bgrayson (a] netbsd.org). Please contact me if you have problems or
35 1.1 bgrayson improvements.
36