]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/amd/amq/pawd.1
readelf: Close input files when done with them.
[FreeBSD/FreeBSD.git] / contrib / amd / amq / pawd.1
1 .\"
2 .\" Copyright (c) 1997-2014 Erez Zadok
3 .\" Copyright (c) 1990 Jan-Simon Pendry
4 .\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
5 .\" Copyright (c) 1990 The Regents of the University of California.
6 .\" All rights reserved.
7 .\"
8 .\" This code is derived from software contributed to Berkeley by
9 .\" Jan-Simon Pendry at Imperial College, London.
10 .\"
11 .\" Redistribution and use in source and binary forms, with or without
12 .\" modification, are permitted provided that the following conditions
13 .\" are met:
14 .\" 1. Redistributions of source code must retain the above copyright
15 .\"    notice, this list of conditions and the following disclaimer.
16 .\" 2. Redistributions in binary form must reproduce the above copyright
17 .\"    notice, this list of conditions and the following disclaimer in the
18 .\"    documentation and/or other materials provided with the distribution.
19 .\" 3. 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.
22 .\"
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
33 .\" SUCH DAMAGE.
34 .\"
35 .\"
36 .\" File: am-utils/amq/pawd.1
37 .\" $FreeBSD$
38 .\"
39 .Dd February 26, 2016
40 .Dt PAWD 1
41 .Os
42 .Sh NAME
43 .Nm pawd
44 .Nd print automounter working directory
45 .Sh SYNOPSIS
46 .Nm
47 .Op Ar path ...
48 .Sh DESCRIPTION
49 .Bf -symbolic
50 This command is obsolete.
51 Users are advised to use
52 .Xr autofs 5
53 instead.
54 .Ef
55 .Pp
56 The
57 .Nm
58 utility
59 is used to print the current working directory, adjusted to reflect proper
60 paths that can be reused to go through the automounter for the shortest
61 possible path.
62 In particular, the path printed back does not include any
63 of
64 .Xr amd 8 Ns 's
65 local mount points.
66 Using them is unsafe, because
67 .Xr amd 8
68 may unmount managed file systems from the mount points, and thus including
69 them in paths may not always find the files within.
70 .Pp
71 Without any arguments,
72 .Nm
73 will print the automounter adjusted current working directory.
74 With any
75 number of arguments, it will print the adjusted
76 .Ar path
77 of each one of the
78 arguments.
79 .Sh SEE ALSO
80 .Xr pwd 1 ,
81 .Xr amd 8 ,
82 .Xr amq 8
83 .Pp
84 .Dq am-utils
85 .Xr info 1
86 entry.
87 .Rs
88 .%A Erez Zadok
89 .%B "Linux NFS and Automounter Administration"
90 .%O ISBN 0-7821-2739-8
91 .%I Sybex
92 .%D 2001
93 .Re
94 .Pp
95 .Pa http://www.am-utils.org/
96 .Rs
97 .%T Amd \- The 4.4 BSD Automounter
98 .Re
99 .Sh HISTORY
100 The
101 .Nm
102 utility first appeared in
103 .Fx 3.0 .
104 .Sh AUTHORS
105 .An Erez Zadok Aq ezk@cs.sunysb.edu ,
106 Computer Science Department, Stony Brook
107 University, Stony Brook, New York, USA.
108 .Pp
109 Other authors and contributors to am-utils are listed in the
110 .Pa AUTHORS
111 file distributed with am-utils.