2 .\" Copyright (c) 1997-1999 Erez Zadok
3 .\" Copyright (c) 1993 Jan-Simon Pendry.
5 .\" The Regents of the University of California. All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. All advertising materials mentioning features or use of this software
16 .\" must display the following acknowledgment:
17 .\" This product includes software developed by the University of
18 .\" California, Berkeley and its contributors.
19 .\" 4. Neither the name of the University nor the names of its contributors
20 .\" may be used to endorse or promote products derived from this software
21 .\" without specific prior written permission.
23 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 .\" from: @(#)fsinfo.8 8.1 (Berkeley) 6/28/93
36 .\" $Id: fsinfo.8,v 1.2 1999/01/10 21:54:28 ezk Exp $
37 .\" $FreeBSD: src/contrib/amd/fsinfo/fsinfo.8,v 1.4.2.2 2001/03/06 16:54:05 ru Exp $
38 .\" $DragonFly: src/contrib/amd/fsinfo/fsinfo.8,v 1.2 2003/06/17 04:23:57 dillon Exp $
45 .Nd co-ordinate site-wide filesystem information
50 .Op Fl b Ar bootparams_prefix
51 .Op Fl d Ar dumpsets_prefix
52 .Op Fl e Ar exports_prefix
53 .Op Fl f Ar fstabs_prefix
55 .Op Fl m Ar automounts_prefix
59 .Ar name Ns Op = Ns Ar string
66 utility takes a set of system configuration information, and generates
74 The following options are available:
77 Specifies the directory name in which to place the automounter's
78 mount points. This defaults to
80 .It Fl b Ar bootparams_prefix
81 Specifies the prefix for the
83 file. If it is not given, then the file will not be generated.
84 The file will be constructed for the destination machine and will be
85 placed into a file named
90 The file generated contains a list of entries describing each
91 diskless client that can boot from the destination machine.
92 .It Fl d Ar dumpsets_prefix
93 Specifies the prefix for the
95 file. If it is not specified, then the file will not be generated.
96 The file will be for the destination machine and will be placed into a file
102 This file is for use by
103 .Tn Imperial College's
105 .It Fl e Ar exports_prefix
106 Defines the prefix for the
108 files. If it is not given, then the file will not be generated.
109 For each machine defined in the configuration files as having disks,
112 file is constructed and given a file name determined by the name of the
113 machine, prefixed with the
116 If a machine is defined as diskless, then no
117 file will be created for it. The files contain entries
118 for directories on the machine that may be exported to clients.
119 .It Fl f Ar fstabs_prefix
120 This defines the prefix for the
122 files. The files will only be created if this prefix is defined.
123 For each machine defined in the configuration files, a
125 file is created with the file name determined by prefixing this
127 string with the name of the machine. These files contain entries
128 for filesystems and partitions to mount at boot time.
130 Defines the hostname of the destination machine to process for.
131 If this is not specified, it defaults to the local machine name,
134 .It Fl m Ar automounts_prefix
135 Defines the prefix for the automounter files. The maps will
136 only be produced if this option is specified. The mount maps
137 suitable for the network defined by the configuration files will
138 be placed into files with names calculated by prefixing the
139 .Ar automounts_prefix
140 string to the name of each map.
142 Selects quite mode. Only error messages that are generated will
145 Selects verbose mode. When this is activated, more messages
146 will be displayed, and all information discovered when performing the semantic
147 analysis phase will be displayed. Each verbose message
148 is output to the standard output on a line starting with a `#'
151 .Ar name Ns Op = Ns Ar string
155 for the preprocessor when reading the configuration files.
160 This option is passed into the preprocessor for the configuration
161 files. It specifies directories in which to find include files.
163 Removes and initial definition of the symbol
169 One or more configuration files to be passed as input to
175 command is fully described in the document
176 .%T "Amd - The 4.4BSD Automounter"
188 command first appeared in