11.3Ssalo$NetBSD: overview,v 1.3 2003/07/26 19:46:33 salo Exp $
21.1Sbgrayson
31.1SbgraysonOverall notes:
41.1Sbgrayson
51.1Sbgrayson  1.  Whenever mounting anything with mount_portal, always
61.1Sbgrayson    specify absolute paths.  By specifying an absolute path for the
71.1Sbgrayson    configuration file, it can be re-parsed by sending a HUP to the
81.1Sbgrayson    mount process.  But since mount_portal calls daemon(), which
91.1Sbgrayson    does a chdir("/"), the re-parse will fail unless the
101.1Sbgrayson    specified file is absolute, not relative.
111.1Sbgrayson
121.1Sbgrayson  2.  The mount point should always be specified as an absolute
131.1Sbgrayson    path.  Otherwise, umount may not be able to unmount it, as it
141.1Sbgrayson    first converts a relative path to an absolute path before
151.1Sbgrayson    checking against the mounted file systems (see
161.1Sbgrayson    realpath(3)).  If you mistakenly mount on portal, instead of
171.1Sbgrayson    `pwd`/portal, you can umount with "umount -R portal", which
181.1Sbgrayson    may seg fault, but it will umount.
191.1Sbgrayson
201.1SbgraysonDescriptions of files in this directory:
211.1Sbgrayson
221.1Sbgrayson  *.conf	Configuration files for the corresponding file
231.1Sbgrayson  tcp.1		Simple and advanced tcp:  daytime and finger
241.1Sbgrayson  fing.c	Program for tcp.1
251.1Sbgrayson  fs.1		Simple fs
261.1Sbgrayson  rfilter.1	Simple rfilter usage:  bunzip2/bzcat
271.1Sbgrayson  rfilter.2	Advanced rfilter usage
281.1Sbgrayson  advanced.1	A tutorial
291.2Satatat  cvs.1		How to map a cvs server into your local file system
301.2Satatat  cvs.pl	A perl script that does the work for the cvs configuration
311.1Sbgrayson
321.1SbgraysonIn progress:
331.1Sbgrayson  wfilter.1	Simple wfilter usage:  bzip2
341.1Sbgrayson
351.1SbgraysonMost (if not all) of these examples were written by Brian Grayson
361.3Ssalo(bgrayson@NetBSD.org).  Please contact me if you have problems or
371.1Sbgraysonimprovements.
38