9305145646
file system so that you can pull random files out of it easily.
38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
$NetBSD: overview,v 1.2 2001/10/11 18:41:12 atatat Exp $
|
|
|
|
Overall notes:
|
|
|
|
1. Whenever mounting anything with mount_portal, always
|
|
specify absolute paths. By specifying an absolute path for the
|
|
configuration file, it can be re-parsed by sending a HUP to the
|
|
mount process. But since mount_portal calls daemon(), which
|
|
does a chdir("/"), the re-parse will fail unless the
|
|
specified file is absolute, not relative.
|
|
|
|
2. The mount point should always be specified as an absolute
|
|
path. Otherwise, umount may not be able to unmount it, as it
|
|
first converts a relative path to an absolute path before
|
|
checking against the mounted file systems (see
|
|
realpath(3)). If you mistakenly mount on portal, instead of
|
|
`pwd`/portal, you can umount with "umount -R portal", which
|
|
may seg fault, but it will umount.
|
|
|
|
Descriptions of files in this directory:
|
|
|
|
*.conf Configuration files for the corresponding file
|
|
tcp.1 Simple and advanced tcp: daytime and finger
|
|
fing.c Program for tcp.1
|
|
fs.1 Simple fs
|
|
rfilter.1 Simple rfilter usage: bunzip2/bzcat
|
|
rfilter.2 Advanced rfilter usage
|
|
advanced.1 A tutorial
|
|
cvs.1 How to map a cvs server into your local file system
|
|
cvs.pl A perl script that does the work for the cvs configuration
|
|
|
|
In progress:
|
|
wfilter.1 Simple wfilter usage: bzip2
|
|
|
|
Most (if not all) of these examples were written by Brian Grayson
|
|
(bgrayson@netbsd.org). Please contact me if you have problems or
|
|
improvements.
|