]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/amd/amq/pawd.1
MFC r308493, r308619: Update amd from am-utils 6.1.5 to 6.2.
[FreeBSD/stable/10.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 January 2, 2006
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 The
50 .Nm
51 utility
52 is used to print the current working directory, adjusted to reflect proper
53 paths that can be reused to go through the automounter for the shortest
54 possible path.
55 In particular, the path printed back does not include any
56 of
57 .Xr amd 8 Ns 's
58 local mount points.
59 Using them is unsafe, because
60 .Xr amd 8
61 may unmount managed file systems from the mount points, and thus including
62 them in paths may not always find the files within.
63 .Pp
64 Without any arguments,
65 .Nm
66 will print the automounter adjusted current working directory.
67 With any
68 number of arguments, it will print the adjusted
69 .Ar path
70 of each one of the
71 arguments.
72 .Sh SEE ALSO
73 .Xr pwd 1 ,
74 .Xr amd 8 ,
75 .Xr amq 8
76 .Pp
77 .Dq am-utils
78 .Xr info 1
79 entry.
80 .Rs
81 .%A Erez Zadok
82 .%B "Linux NFS and Automounter Administration"
83 .%O ISBN 0-7821-2739-8
84 .%I Sybex
85 .%D 2001
86 .Re
87 .Pp
88 .Pa http://www.am-utils.org/
89 .Rs
90 .%T Amd \- The 4.4 BSD Automounter
91 .Re
92 .Sh HISTORY
93 The
94 .Nm
95 utility first appeared in
96 .Fx 3.0 .
97 .Sh AUTHORS
98 .An Erez Zadok Aq ezk@cs.sunysb.edu ,
99 Computer Science Department, Stony Brook
100 University, Stony Brook, New York, USA.
101 .Pp
102 Other authors and contributors to am-utils are listed in the
103 .Pa AUTHORS
104 file distributed with am-utils.